11-01-2021
02:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
11-01-2021
02:33 AM
Within the Modeldimensiondefinition you can find the promoted parameter. But for some reason i can't get the parameter. It results in a "not implemented" message. Maybe someone else knows how to deal with this.
Dim oDoc As PartDocument oDoc = ThisApplication.ActiveDocument Dim oDef As PartComponentDefinition oDef = oDoc.ComponentDefinition Dim oModelDim As ModelDimension For Each oModelDim In oDef.ModelAnnotations.ModelDimensions Dim oModelDef As ModelDimensionDefinition Dim oPara As Inventor.Parameter oModelDef = oModelDim.Definition oPara = oModelDef.PromoteParameter Logger.Info(oPara.Name) Next