I'm sending a [donecanvasdialog....( message to a canvas to resize its GOP. It appears that I can either use [namecanvas] to create a receive on a particular canvas, or I can use the [sendcanvas...( message with [pdcontrol]. Which one should I use?
-
[namecanvas] + [send] vs [sendcanvas...( + [pdcontrol]
-
@jameslo I would use [coords( rather than [donecanvasdialog( as it is less "dirty". [pdcontrol] I have never tried.
I can't remember whether you need to exit from edit mode after the [coords( message.
David. -
@whale-av Thanks! While searching for [coords( documentation I stumbled across [goprect( buried in the dynamic patching help. It looks like it's relatively new and doesn't set the dirty flag.
And unless there's a difference in how canvases are messaged, then it seems like the answer to my original question is that the [namecanvas] way let's you send to any accessible named canvas in the patch, whereas pdcontrol is just for the containing canvas and saves you the trouble of having to name it. Other than that they seem equivalent.