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) :
- Is it possible to delete and disconnect objects without clearing
the whole canvas ?
- 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.
Is the use of [namecanvas $0] recommended or totally deprecated ?
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 !