[PD] Dynamic Graph on Parent

Jonathan Wilkes jancsika at yahoo.com
Thu Sep 30 04:13:22 CEST 2010


You can create [namecanvas $0-foo] in the relevant canvas, then
[message(
|
[s $0-foo]

You can also send a message to a named subpatch like [pd foo] by 
prefixing the subpatch name with "pd-" like this:

[message(
|
[s pd-foo]

And finally, send to an abstraction or open patch (globally) by 
using:

[message(
|
[s pd-patchname.pd]

I'm not sure if the "pd-" prefix is explicitly documented anywhere-- 
I only remember seeing it in passing with reference to traversing 
scalars.  Maybe it could be added to doc/manuals/pd-msg, then 
have a link to that from canvas-help.pd.

-Jonathan

--- On Thu, 9/30/10, brandon zeeb <zeeb.brandon at gmail.com> wrote:

From: brandon zeeb <zeeb.brandon at gmail.com>
Subject: Re: [PD] Dynamic Graph on Parent
To: "PD List" <pd-list at iem.at>
Date: Thursday, September 30, 2010, 3:53 AM

How is this sent to the current patch?  Can you give me a quick example.
Thanks~B

On Wed, Sep 29, 2010 at 4:41 PM, Jonathan Wilkes <jancsika at yahoo.com> wrote:

A canvas accepts a "donecanvasdialog" message that can be used 

to do what you want.  Search the list for that.

There's also the "coords" message, which takes its arguments in a 
different order than "donecanvasdialog" and doesn't set the dirty 

flag for Pd < 0.43.  Other than that I'm not sure what the 
differences are between the two messages.

-Jonathan

--- On Wed, 9/29/10, brandon zeeb <zeeb.brandon at gmail.com> wrote:


From: brandon zeeb <zeeb.brandon at gmail.com>
Subject: [PD] Dynamic Graph on Parent

To: "PD List" <pd-list at iem.at>
Date: Wednesday, September 29, 2010, 10:08 PM

Is there a way to dynamically adjust and enabled graph on parent
 (GOP)?  I'm building some UI sequencer widgets and it would be preferable to dynamically adjust the GOP size given user input, say number of steps in a step sequencer (ie: an 8x8 vs a 16x16 step sequencer using the same abstraction).


If this is documented anywhere a link to the docs will suffice, I'm unable to find any.
Thanks,~Brandon

-----Inline Attachment Follows-----

_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list










      


-----Inline Attachment Follows-----

_______________________________________________
Pd-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100929/f20c365e/attachment.htm>


More information about the Pd-list mailing list