Re: [PD] Selfdestroying patches

2013-11-18 Thread Patrice Colet
De: Ronni Montoya ronni.mont...@gmail.com Hi, im opening multiple instances of a pd patch from openframeworks using the ofxPd library . My patch generates a grain, so when i create multiple instances of this patch from openframeworks it generates a granular cloud. I need that after the

Re: [PD] Selfdestroying patches

2013-11-18 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2013-11-18 11:06, Patrice Colet wrote: De: Ronni Montoya ronni.mont...@gmail.com Hi, im opening multiple instances of a pd patch from openframeworks using the ofxPd library . My patch generates a grain, so when i create multiple

Re: [PD] Selfdestroying patches

2013-11-18 Thread Dan Wilcox
Sine you're opening the patches via libpd through ofxPd, you already have the pointer to the patch instance. Simply use that to close each instance individually. If you want to have the patch close itself, you can have it send a message to the C++ layer with it's $0 or a custom index so you