[PD] PD- dynamic patching - how to keep track of object creation number?

Alexandros Drymonitis adrcki at gmail.com
Tue Oct 23 18:04:57 CEST 2012


Couldn't really make this work, but iemguts did it.

On Wed, Oct 17, 2012 at 5:24 PM, Jamie Bullock <jamie at jamiebullock.com>wrote:

>
> On 8 Oct 2012, at 18:30, adrcki at gmail.com wrote:
>
> > I know the command for creating an object, but I didn't know there's a
> command to destroy one. Which one is it?
> >
>
> One option is to add some kind of UID to your object creation arguments,
> and then use "find" + "cut" messages to delete them.
>
> For example instantiate your objects:
>
> [MyObject unique-identifier extra arguments]
>
>
> You can delete them like this:
>
> |find +unique-identifier 1, cut(
> |
> [s pd-some-canvas]
>
>
> Of course, this solution only works if the thing you are trying to delete
> is an abstraction you've authored.
>
> best,
>
> Jamie
>
> --
> http://jamiebullock.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121023/77dcdf47/attachment-0001.htm>


More information about the Pd-list mailing list