Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

View rotation through API

1 REPLY 1
SOLVED
Reply
Message 1 of 2
sorgjee
298 Views, 1 Reply

View rotation through API

Hi,

 

Is there any way of setting the view rotation to a set angle through the API?

 

Regards,

E

1 REPLY 1
Message 2 of 2
Rafal.Gaweda
in reply to: sorgjee

Set RobApp = New RobotApplication

Dim viewRobot As IRobotView3

Set viewRobot = RobApp.Project.ViewMngr.GetView(1)


viewRobot.Rotate I_GCA_OZ, 0.3  ' value here in rad : 3.14 -> 180 deg rotation, 6.28 -> 360 deg

RobApp.Project.ViewMngr.Refresh



Rafal Gaweda
Tags (1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report