-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-03-23 14:21, Jeppi Jeppi wrote: > -When I instantiate dynamically an abstraction (not a pd native > object, but an abstraction), it does not receive a proper loadbang > message. And I should have a way to initialize dynamically created > abstractions, taking into account that I instantiate several of > them and initialization should be performed indiviually.
since nobody mentioned it, here's an other solution: - - create your abstractions with a unique ID as an argument: [foo abs72] - - inside the abstraction, use the unique ID to construct a unique [send]-name: [r $1-init] - - at the end of your dynamic instantiation, you send a bang to the matching receiver: [; abs72-init bang( after all, when using dynamic patching, you are already manually doing a lot of stuff Pd usually takes care of. sending a proper init-message (via a canvas-local loadbang or as described above) is just the icing on the cake. fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlFQCCEACgkQkX2Xpv6ydvQ88wCgkLV4Us8EKHQklInUBZZjmmgT /VQAniuZpPkFN03jlYCTJPDD/Kqr9Guy =tNo+ -----END PGP SIGNATURE----- _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list