[PD] data structures - get symbol? -> real-time state
Frank Barknecht
fbar at footils.org
Mon Nov 20 11:04:32 CET 2006
Hallo,
João Miguel Pais hat gesagt: // João Miguel Pais wrote:
> another question: some time ago I asked if the same feature as
> select/deselect would be available, without involve changing to edit mode.
> or, any way of detecting a real-time transformation of a float in a DS?
>
> In a DS I have the lenght of a polygon which is related to a float, also
> displayed. if I change the lenght with the mouse (of course, not in edit
> mode), is there a way that the other float gets updated? since it's not
> the same variable (even they're related), is there a way of connecting
> both in real-time?
With 0.40 when changing any scalar, its respective [struct] object
will send out a message compused of the word "changed" as as selector
(IIRC) and the pointer to that specific scalar. You can use this
pointer to update other fields accordingly on changes.
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
More information about the Pd-list
mailing list