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

Rotate a drawing view using iLogic

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
jddickson
2080 Views, 2 Replies

Rotate a drawing view using iLogic

Is it possible to rotate a drawing view using iLogic? If anyone out there can help me I would appreciate it.

 

Thanks

2 REPLIES 2
Message 2 of 3

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

Message 3 of 3

Thank you very much. That’s exactly what I needed.

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

Post to forums  

Autodesk Design & Make Report