[PD] namecanvas obsolete? Why? Re: Dynamic Graph on Parent

brandon zeeb zeeb.brandon at gmail.com
Thu Sep 30 09:02:20 CEST 2010


According to [namecanvas] help, this object is obsolete?  How else can one
send a message to one and only one abstraction without using namecanvas?  Is
there the concept of 'this'?

The example below will send a message to all patchname.pd abstractions, this
is not what I think most require:

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



On Wed, Sep 29, 2010 at 10:30 PM, brandon zeeb <zeeb.brandon at gmail.com>wrote:

> Oh, that is awesome!  Thanks a bunch for compiling these for me.
>
> Going to have some fun tonight...
>
> ~B
>
>
> On Wed, Sep 29, 2010 at 10:13 PM, Jonathan Wilkes <jancsika at yahoo.com>wrote:
>
>> 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<http://mc/compose?to=jancsika@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<http://mc/compose?to=zeeb.brandon@gmail.com>
>> >* wrote:
>>
>>
>> From: brandon zeeb <zeeb.brandon at gmail.com<http://mc/compose?to=zeeb.brandon@gmail.com>
>> >
>> Subject: [PD] Dynamic Graph on Parent
>> To: "PD List" <pd-list at iem.at <http://mc/compose?to=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 at iem.at <http://mc/compose?to=Pd-list@iem.at> mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>> -----Inline Attachment Follows-----
>>
>> _______________________________________________
>> Pd-list at iem.at <http://mc/compose?to=Pd-list@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/20100930/baeba9ec/attachment.htm>


More information about the Pd-list mailing list