Inventor Customization

Inventor Customization

Active Contributor
40 Posts
7 Kudos
Registered: ‎11-09-2011
Post 1 of 1

Check Drawing View Type with iLogic

267 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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!