Forums > MaxMSP

Update object position

June 30, 2011 | 12:46 pm

Hello,

Does anyone know of a way to dynamically update the position and size of objects in the patcher window?

I know this info can be found in the inspector under "Patching Rectangle" but I would like to update this info into a coll as I move objects around.

Thanks,

Tom.


June 30, 2011 | 4:43 pm

Hi Tom
Just change the patching_rect attribute via message:

– Pasted Max Patch, click to expand. –

best
aa


July 1, 2011 | 12:56 pm

Thanks Andrea, but that’s not what I meant. Sorry I see my question wasn’t clear.

I know how to change the size and position of objects.

My question was meant to ask if there is a way for the location and size of the object to be reported as I move the object around with the patcher in edit mode?


July 1, 2011 | 1:05 pm

Here it is – mybutton is the scripting name of the button that you’re supposed to move around. works with any object afaik

– Pasted Max Patch, click to expand. –

aa


July 2, 2011 | 2:40 pm

Perfect, thankyou!


Viewing 5 posts - 1 through 5 (of 5 total)