Re: getting presentation coordinates of object

Forums > MaxMSP > getting presentation coordinates of object
Feb 22 2010 | 7:53 pm

pattr my_pattr_name @bindto my_object_scripting_name::patching_rect

Not all the attributes can be bound, I don’t think, but probably most can. You could keep track of whatever info you want about your objects, and it updates as you edit, kind of the reverse of what we generally do—we use the mouse to move and resize, or send messages/use the Inspector to change attributes of objects. Now we’re getting the info from the "other side", so we can mess with it or store it if we want… make different object layouts, appearance presets, restrict edit values to a range, fun stuff.

-- Pasted Max Patch, click to expand. --

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required