Re: [PD] Dynamic patching questions
Am 18.02.2007 um 14:30 schrieb Patco: Alexandre Quessy a écrit : 1) Is it possible to delete and disconnect objects without clearing the whole canvas ? yes [find 'objectname', cut( and [findagain, cut( hi patco, list, could you elaborate this a bit? how should that work? not like this obviously: dynamic.pd Description: Binary data thanks, max___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching questions
Am 27.02.2007 um 16:59 schrieb Max Neupert: Am 18.02.2007 um 14:30 schrieb Patco: Alexandre Quessy a écrit : 1) Is it possible to delete and disconnect objects without clearing the whole canvas ? yes [find 'objectname', cut( and [findagain, cut( hi patco, list, could you elaborate this a bit? how should that work? ok, maybe more coffee was needed. i've found the answer. interesting is that pd enters the edit mode when deleting an object, but not when creating one. dynamic.pd Description: Binary data max___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching questions
Max Neupert a écrit : Am 27.02.2007 um 16:59 schrieb Max Neupert: Am 18.02.2007 um 14:30 schrieb Patco: Alexandre Quessy a écrit : 1) Is it possible to delete and disconnect objects without clearing the whole canvas ? yes [find 'objectname', cut( and [findagain, cut( hi patco, list, could you elaborate this a bit? how should that work? ok, maybe more coffee was needed. i've found the answer. interesting is that pd enters the edit mode when deleting an object, but not when creating one. max hello, you might need to create your iem gui into a subpatch for finding their individual name, an example is attached, pc. #N canvas 228 55 628 380 10; #X msg 101 370 \; findagain \, cut; #X msg 217 302 \; find label \, cut; #X text 76 130 create; #X text 333 62 destroy??; #X msg 338 301 \; find 'label' \, cut; #X obj 109 154 t a a; #X floatatom 200 42 5 0 0 0 - - -; #X obj 87 154 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 95 199 pack \$0 f f; #X obj 342 80 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 260 118 pack \$0 f; #X obj 141 175 * 40; #X text 187 21 x coordinate of obj and \$0 is the label index; #X msg 245 141 \; pd-dynamic_gop.pd find \$1tgl\$2 \, cut \, editmode 0; #X msg 96 226 \; pd-dynamic_gop.pd obj 10 \$3 pd \$1tgl\$2 \; pd-\$1tgl\$2 obj 100 100 tgl 15 0 sendsymbol receivesymbol label 0 -6 0 8 -262144 -1 -1 0 \, donecanvasdialog 1 -1 1 0 -1 1 1 30 30 99 99 \, vis 0; #X connect 5 0 8 1; #X connect 5 1 11 0; #X connect 6 0 5 0; #X connect 6 0 10 1; #X connect 7 0 8 0; #X connect 8 0 14 0; #X connect 9 0 10 0; #X connect 10 0 13 0; #X connect 11 0 8 2; #X coords 0 0 1 1 99 99 0; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching questions
or the edit subpatch of the iemgui help objects has some rgb-iemgui conversion stuff. so, basically, make a canvas, right click on it, and select help...then go into the 'edit subpatch' ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching questions
On Sun, 2007-02-18 at 01:55 -0500, marius schebella wrote: try to create the gui objects with all its arguments. documentation about how to create arguments is not easy to find, but exists. maybe search the archieves. or just have a look at the pd-file with a text-editor. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Dynamic patching questions
Hi, A few questions regarding dynamic patching using only Pd messages (or internals) : 1) Is it possible to delete and disconnect objects without clearing the whole canvas ? 2) Is it ok to create GUI objects with not even half the arguments it could take ? Pd seems to be likely to crash when we create GUI objects using a message with the atom empty in it. 3) Is the use of [namecanvas $0] recommended or totally deprecated ? 4) Where can I find an abstraction or object to convert any familiar representation of colors to the Tk colors (or whatever is used for GUI objects) ? Thanks ! -- Alexandre Quessy http://alexandre.quessy.net ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching questions
hi alexandre, if you need a lot of dynamic patching, the object I recommend is [dyn~]. if you just want to edit real patches, then it is not really possible. or at least not without bad hacks. the use of [namecanvas $0] in this particular way is I think not possible, because $0 will be substituted by a number and you cannot use numbers for namecanvas names. but [namecanvas $0-] should work and I already used such construnctions. try to create the gui objects with all its arguments. documentation about how to create arguments is not easy to find, but exists. maybe search the archieves. marius. Alexandre Quessy wrote: Hi, A few questions regarding dynamic patching using only Pd messages (or internals) : 1) Is it possible to delete and disconnect objects without clearing the whole canvas ? 2) Is it ok to create GUI objects with not even half the arguments it could take ? Pd seems to be likely to crash when we create GUI objects using a message with the atom empty in it. 3) Is the use of [namecanvas $0] recommended or totally deprecated ? 4) Where can I find an abstraction or object to convert any familiar representation of colors to the Tk colors (or whatever is used for GUI objects) ? Thanks ! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list