[PD] how to destroy/delete an object with dynamic patching?
IOhannes m zmölnig
zmoelnig at iem.at
Wed Oct 18 07:35:09 CEST 2017
> 2017-10-18 3:00 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:
>> hi, is there even a way to destroy/delete an object with dynamic
(it also adds a message to the canvas class; so you don't need to use
the actual object, just ordinary dynamic patching messages)
On 10/18/2017 07:10 AM, Alexandre Torres Porres wrote:
> oh... it has to be a vanilla way - I can't afford to have a dependency on
then you're basically out of luck.
there is a reason, why a library like iemguts has an object like
[canvasdelete]: you cannot do this otherwise.
PS: but to be honest, there is a hacky way to delete an object, by
mimicking mouse events to select the region where the desired object
(and all other objects that overlap with it) resides and then mimicking
a keyboard event that "cuts" the object. this is highly brittle (as
opposed to the [canvasdelete] method which i consider *very* stable)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Pd-list