Re: [PD] how to destroy/delete an object with dynamic patching?

2017-10-18 Thread IOhannes m zmoelnig
On 2017-10-18 15:15, Alexandre Torres Porres wrote:
> 2017-10-18 3:35 GMT-02:00 IOhannes m zmölnig :
> 
>> there is a reason, why a library like iemguts has an object like
>> [canvasdelete]: you cannot do this otherwise.
> 
> 
> But is there any particular reason not to have a simple message to Pd that
> would delete an object? So one could be "in luck" and not have to rely on
> externals or painful in the back hacks?

iirc, there was a feature-request (cum implementation) on the sf tracker
and it was turned down.

fgmasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] how to destroy/delete an object with dynamic patching?

2017-10-18 Thread Alexandre Torres Porres
2017-10-18 3:35 GMT-02:00 IOhannes m zmölnig :
>
> there is a hacky way to delete an object, bymimicking mouse events to
> select the region where the desired object


yikes...


> there is a reason, why a library like iemguts has an object like
> [canvasdelete]: you cannot do this otherwise.


But is there any particular reason not to have a simple message to Pd that
would delete an object? So one could be "in luck" and not have to rely on
externals or painful in the back hacks?

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


Re: [PD] how to destroy/delete an object with dynamic patching?

2017-10-17 Thread IOhannes m zmölnig
> 2017-10-18 3:00 GMT-02:00 Alexandre Torres Porres :
>
>> hi, is there even a way to destroy/delete an object with dynamic
patching?

iemguts' [canvasdelete]
(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
> this

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.

fmdars
IOhannes

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)

gfamrds
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] how to destroy/delete an object with dynamic patching?

2017-10-17 Thread Alexandre Torres Porres
oh... it has to be a vanilla way - I can't afford to have a dependency on
this

2017-10-18 3:00 GMT-02:00 Alexandre Torres Porres :

> hi, is there even a way to destroy/delete an object with dynamic patching?
>
> cheers
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list