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.bran...@gmail.com> wrote:

From: brandon zeeb <zeeb.bran...@gmail.com>
Subject: Re: [PD] Dynamic Graph on Parent
To: "PD List" <pd-list@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 <jancs...@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.bran...@gmail.com> wrote:


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

To: "PD List" <pd-list@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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list










      


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

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



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

Reply via email to