[PD] deleting instances of data structures

Frank Barknecht fbar at footils.org
Tue Nov 2 08:56:19 CET 2004


Hallo,
Florian Hollerweger hat gesagt: // Florian Hollerweger wrote:

> I wonder if there is a possibility to delete an instance of a structure 
> created without having to switch to edit-mode (to delete it "manually").
> 
> I imagine something like pointing to the desired instance, and then 
> sending it a [clear< message or something similar.

I'm not sure, but I don't think, this is possible yet. Maybe you could
hack and use Pd's internal messages with "cut" here. It might be
helpful, that you can read out the (x,y) coordinates of data
structures.

> I also wonder if it's possible to delete single elements from an array 
> in a similar way.

I'm quite sure, this isn't possible. You can "resize" an array, but
this will always delete elements from the end of the array.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__




More information about the Pd-list mailing list