Scripting in presentation mode

Jul 10, 2011 at 9:28pm

Scripting in presentation mode

Hello Maxers,
I would like to alter the size of an object, a matrixctl in my example, by scripting. In edit mode there is no problem I can change the size of my object as I want by scripting to thispatcher. In presentation mode there is no way to change size. What am I doing wrong?
Waiting for an answer.
Filippo

– Pasted Max Patch, click to expand. –
#57957
Jul 10, 2011 at 11:55pm

Hi Filippo,

with “script size …” you change the “Patching Rectangle” attribute of an object. But in presentation mode the “Presentation Rectangle” is the relevant one.
You can change it by sending a “presentation_rect …” message to the object:

– Pasted Max Patch, click to expand. –

jan.

#207963
Jul 11, 2011 at 12:32am

Thanx Jan,
So we can say thispatcher object is irrelevant for such a job.
Have a good night!
Filippo

#207964

You must be logged in to reply to this topic.