Inventor Customization

Inventor Customization

Posts: 25
Registered: ‎11-09-2011
Message 1 of 1 (266 Views)

Check Drawing View Type with iLogic

266 Views, 0 Replies
09-28-2012 01:17 PM

I am trying to create a rule that will loop through all the sheets and the drawing views on those sheets then if the view is not a standard view I want it to do something.  I cant seem to get the code right for accessign the View Type.  Here is what I have that is not working...


oSheets = ThisDoc.Document.Sheets


Dim oViewType As DrawingViewTypeEnum =  oSheets.Item(SheetNumber).DrawingViews.Item(ViewNumber).ViewType


If oViewType <> kStandardDrawingViewType Then


more code here...


End If


Also, is there a way to change the Format of Text for the Section and Detail view call out on the parent view using ilogic?  So instead of just showing the View Name, add some more text to it.




Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.