Is it possible to rotate a drawing view using iLogic? If anyone out there can help me I would appreciate it.
Thanks
Solved! Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
Hi jddickson,
Here's a quick example:
Dim oApp As Application
oApp = ThisApplication
Dim oActiveSheet As Sheet
oActiveSheet = oApp.ActiveDocument.Activesheet
Dim oBaseView As DrawingView
oBaseView = oActiveSheet.DrawingViews.Item(1)
'rotate by 45 degrees (converted from Radians)
'True = Clockwise
oBaseView.RotateByAngle(45*(PI / 180), True)
Also just as a tip, you can search and ask programming questions of this type on the Inventor Customization forum too:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com