Purity subpages :
Dynamic Patching Notes
These notes are intended to be used for the the Purity project.
- abstractions don't have names... (such as for "vis 1" message)
- but, you can use [namecanvas] to give it a name and then send messages to that
- * pd-subpatch loadbang
- needs to be sent.
Methods of deletion:
- You can delete using [find tgl, cut( to find the first instance of a toggle object. Abstractions are harder. You have to do: [find absName, findagain, findagain, cut( to delete the 3rd instance (based on creation order).
- If you create an object with [obj 25 25 tgl( then you can delete it with [mouse 25 25 0 0, cut( ... as long as it hasn't moved since creation, and only when the patch is in editmode. Of course, you can set editmode with [editmode 1(.
Dynamic patching in externals:
- to get a pointer to the t_canvas, you must call canvas_getcurrent() in the new() method when an object is created. You CANNOT do it later, or you will get garbage.
