Direction of the rotated view

By Mikako Harada

Issue

I have created a plan view from a callout, and it is rotated. How do we know the direction of the rotated view? 

Solution

View class has properties, UpDirection and RightDirection.  UpDirection is the direction towards the top of the screen, and rightDirection is toward the right side of the screen.

 


Comments

One response to “Direction of the rotated view”

  1. Could you possibly give a code sample of this use please? For example a view rotated 37 degrees to the left? And thanks to the AECDevBlog Team for invaluable information. Dale

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading