How to capture if the layout is transformed (rotated/mirrored)

edited July 2017 in Ruby Scripting
Hi All,

I would like to get the rotation/angle value from the Layout when the user clicks
Edit->Layout->Rotate/Mirror
in the ruby script.

Thanks & Regards
Rambir

Comments

  • edited November -1

    Hi Rambir,

    The function you refer to is transforming the layout. It does not leave a value somewhere. So you can't extract that value later.

    What exactly is your application?

    Matthias

  • edited November -1
    Hi Matthias,

    Sorry for sleeping on this. Well it was the issue with the usage of the Layout transform, the user needed to use instance transform using selection->rotate instead of global transformation.
    I could survive by educating him on this.

    Thanks & Regards
    Rambir
Sign In or Register to comment.