Autodesk Robot Structural Analysis
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
View rotation through API
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
65 Views, 1 Replies
02-24-2012 03:48 AM
Hi,
Is there any way of setting the view rotation to a set angle through the API?
Regards,
E
Solved! Go to Solution.
Re: View rotation through API
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-24-2012 05:59 AM 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
Product Support
Autodesk, Inc.

