Thanks @WCrihfield I'm trying to write something that A) determines if the feature "Extrusion1" exists and, if it does exist, what is it's value. The code I have naturally isn't returning what I want,
Public Sub Main()
Dim userParams = ThisDoc.Document.ComponentDefinition.Parameters.UserParameters
Dim allParams = ThisDoc.Document.ComponentDefinition.Parameters.ModelParameters
Dim partWidthCheck, partWidth, partWidthValue As Double
Dim oComp As PartComponentDefinition
oComp = ThisDoc.Document.ComponentDefinition
If Feature.IsActive("Extrusion1") Then
extWidth = oComp.Features.ExtrudeFeatures.Item("Extrude1").FeatureDimensions
MsgBox(extWidth)
End If
Came across this and it seems wildly more complicated than you'd think it needs to be to just find the dimension value of Extrude1.
https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DumpFeatureInfo_Sample