Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Curtis_Waguespack
in reply to: Anonymous

Hi Jake_M.,

 

There isn't an ilogic method to do this, but you can use an API call in an iLogic rule for this.

 

Here's an example (note that it expects the 2nd view on the sheet to be a section view).

 

Also just as a tip, you can search and ask programming questions of this type on the Inventor Customization forum:
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

 

Dim oDoc As DrawingDocument
oDoc = ThisApplication.ActiveDocument

Dim oView As SectionDrawingView
'expects the 2nd view on the sheet to be a section view
oView = oDoc.ActiveSheet.DrawingViews.Item(2)

'flip the section view direction
oView.ReverseDirection