Hi list,
I'm working with abstraction and subpatch, I have a problem and I'm
unsatisfied with my solution.
My problem: I have a gop abstraction instantiated tree times. In the
abstraction there is a subpatch that I want to open/close through a
toggle button connected to a pd-subpatch vis $1 msg sent to the same
abstraction. It opens/close the subpatch for every instantiated
abstraction (in this case thrice) and not just the subpatch from my
abstraction. There is a way to do that? What I'm looking for is a way to
include $0 in dynamic message, or something like that.
An example patch is attached.
thanks
husk
#N canvas 0 0 256 333 10;
#X obj 42 49 abstraction;
#X obj 43 124 abstraction;
#X obj 42 202 abstraction;
#N canvas 0 0 450 300 10;
#X obj 134 135 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#N canvas 0 293 450 300 subpatch 0;
#X text 114 152 this is a subpatch;
#X restore 355 93 pd subpatch;
#X msg 64 244 \; pd-subpatch vis \$1;
#X connect 0 0 2 0;
#X coords 0 -1 1 1 85 60 1 100 100;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list