Message 1 of 2
View Identifier Modification Via iLogic - Parts List Properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi so I am testing a few things out in inventor iLogic and currently have developed a code to enable the view identifier on a drawing view and then modify the parameters being used in the view identifier.
Currently I am attempting to see if I can link the "Panel ID" Custom property to the view identifier and that works perfect however looking through the API there is no real help to find the internal name of the Parts List Properties set for the Format ID or if it is even possible to link the Parts list qty to be a live update in the view identifier without doing it manually in Inventor 2025. Does anyone know any more that maybe helpful.
'start of ilogic code Dim oDoc As DrawingDocument: oDoc = ThisDoc.Document oSheets = oDoc.Sheets For Each occ As DrawingView In oDoc.ActiveSheet.DrawingViews 'Reference to the drawing view from the 1st selected object Dim oView As DrawingView = TryCast(occ, DrawingView) If oView IsNot Nothing Then oView.ShowLabel = True 'format the model iproperties oPanelID = "<StyleOverride Underline='True'><Property Document='model' PropertySet='Inventor User Defined Properties' Property='Panel ID' FormatID='{D5CDD505-2E9C-101B-9397-08002B2CF9AE}' PropertyID='28'>PANEL ID</Property></StyleOverride>" oQty = "<StyleOverride Underline='True'> - QTY: <Property Document='model' PropertySet='Parts List Properties' Property='QTY' FormatID='{Unknown}' PropertyID='1'>QTY</Property></StyleOverride>" 'add the custom iproperties to the view label oView.Label.FormattedText = oPanelID & oQty End If Next 'end of ilogic code