Inventor Customization

Posts: 15
Registered: ‎11-09-2011
Message 1 of 1 (238 Views)

Check Drawing View Type with iLogic

238 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.




You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor