Skip to main content
Participant
Oct 29, 2024 9:49 AM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
Oct 30, 2024 5:18 AM UTC

Adobe Illustrator Scripting Reference: JavaScript (PDF)

app.activeDocument.views[0].rotateAngle;

 

2 replies

Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
Oct 30, 2024 5:18 AM UTC

Adobe Illustrator Scripting Reference: JavaScript (PDF)

app.activeDocument.views[0].rotateAngle;

 

Translate
Participant
Nov 5, 2024 1:11 PM UTC

Thank you @Sergey Osokin. It worked!

Translate