Scripting in presentation mode


    Jul 10 2011 | 9:28 pm
    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

    • Jul 10 2011 | 11:55 pm
      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:
      jan.
    • Jul 11 2011 | 12:32 am
      Thanx Jan,
      So we can say thispatcher object is irrelevant for such a job.
      Have a good night!
      Filippo