• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Javascript for new rotate view - is it supported yet?

Community Beginner ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

What is the javascript for this

As per https://helpx.adobe.com/in/illustrator/using/rotate-view.html

Thanks

TOPICS
Scripting

Views

228

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 01, 2021 Jul 01, 2021

See this post: 

https://community.adobe.com/t5/illustrator/what-s-new-in-illustrator-scripting-cc2021-v25-3-1-june-2021-release/m-p/12134779#M280825

 

 

app.activeDocument.activeView.rotate = 45; // degrees clockwise

 

 

Votes

Translate

Translate
Adobe
Guide ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

View objects don't have a rotate function. The closest I can think of is rorating everything (artboard and artwork) multiples of right angles:

https://community.adobe.com/t5/illustrator/rotate-an-entire-document-with-all-elements-90-degrees/m-...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

LATEST

Yes I read it as a rotate function too, but actually it's a property, which I guess makes sense.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 01, 2021 Jul 01, 2021

Copy link to clipboard

Copied

See this post: 

https://community.adobe.com/t5/illustrator/what-s-new-in-illustrator-scripting-cc2021-v25-3-1-june-2...

 

 

app.activeDocument.activeView.rotate = 45; // degrees clockwise

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines