Re: [PD] open a subpatch from an abstraction
Great! it is exactly what I was looking for ;) On Fri, Oct 16, 2009 at 7:01 PM, Matteo Sisti Sette < matteosistise...@gmail.com> wrote: > Hi Husk ;) > > Attached is a solution. > > Hope it helps. > > ciao > m. > > -- > Matteo Sisti Sette > matteosistise...@gmail.com > http://www.matteosistisette.com > > #N canvas 97 215 450 431 10; > #X obj 134 135 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 > 1; > #N canvas 0 293 450 300 \$0-subpatch 0; > #X text 114 152 this is a subpatch; > #X restore 355 93 pd \$0-subpatch; > #X obj 78 214 list prepend \$0; > #X msg 66 295 \; pd-\$1-subpatch vis \$2; > #X connect 0 0 2 0; > #X connect 2 0 3 0; > #X coords 0 -1 1 1 85 60 1 100 100; > > -- If identity in the Post-modernism is nothing you can call me a RadikalTeknoFreak Hartivist www.estereotips.net qeve.estereotips.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] open a subpatch from an abstraction
Hi Husk ;) Attached is a solution. Hope it helps. ciao m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com #N canvas 97 215 450 431 10; #X obj 134 135 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #N canvas 0 293 450 300 \$0-subpatch 0; #X text 114 152 this is a subpatch; #X restore 355 93 pd \$0-subpatch; #X obj 78 214 list prepend \$0; #X msg 66 295 \; pd-\$1-subpatch vis \$2; #X connect 0 0 2 0; #X connect 2 0 3 0; #X coords 0 -1 1 1 85 60 1 100 100; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] open a subpatch from an abstraction
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; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list