[PD] Multiple (same) instances, and [sssad]

geiger geiger at xdv.org
Wed Aug 9 09:59:35 CEST 2006


On Wed, 9 Aug 2006, Chris McCormick wrote:
> And as such it would be very cool if there was something like $0 which
> gave you a consistent value between saves/loads and shutdowns of Pd. It
> would help with datastructures based saving too, and would do away with
> the entire need to name every single abstraction on your canvas just
> because you want to be able to save them.

Thats a good idea.

One could generate the ID automatically based on the name of the
abstraction, its position (relative to the other abstraction with the same
name) and the ID of the parent patch.

This way it might be possible to come up with unique ID's without
having to name your abstractions individually.

e.g

MAIN1/abs4/subabs3

would be the 3rd abstraction "subabs" (ordered with increasing x then y)
in the 4th abstraction "abs" in the main patch "MAIN".

Günter


>
> Best,
>
> Chris.
>
> -------------------
> chris at mccormick.cx
> http://mccormick.cx
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>




More information about the Pd-list mailing list