Skip to main content
Participant
October 29, 2024
Answered

Assistance Needed: Retrieving "Rotate View" Angle in Adobe Illustrator using ExtendScript

  • October 29, 2024
  • 1 reply
  • 457 views

Hello Everyone,

I'm currently developing an extension for Adobe Illustrator that requires performing specific actions within the Illustrator environment. I'm trying to retrieve the "Rotate View" angle of the active document programmatically using ExtendScript (I’ve attached a screenshot for reference). However, after considerable searching, I haven’t yet found a property that directly provides the rotation angle of the document view.

Could anyone advise if there’s a dedicated property in Illustrator scripting for accessing the "Rotate View" angle? Alternatively, if there’s a workaround or other approach to achieve this, I would greatly appreciate any guidance or suggestions.

Thank you very much in advance for your help and insights!

This topic has been closed for replies.
Correct answer Sergey Osokin

Adobe Illustrator Scripting Reference: JavaScript (PDF)

app.activeDocument.views[0].rotateAngle;

 

1 reply

Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
October 30, 2024

Adobe Illustrator Scripting Reference: JavaScript (PDF)

app.activeDocument.views[0].rotateAngle;

 

Participant
November 5, 2024

Thank you @Sergey Osokin. It worked!