Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Jef_E
in reply to: Anonymous

It's somthing really stupid.. you must set back the definition.. struggled with this also for a while :grinning_face_with_smiling_eyes:

 

Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument

Dim oDerivedPartDef As DerivedPartComponent
Set oDerivedPartDef = oDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents(1)

oDerivedPartDef.Definition.Parameters.Item("Plate_6_Thk").IncludeEntity = True

oDoc.ComponentDefinition.ReferenceComponents.DerivedPartComponents(1).Definition = oDerivedPartDef


Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2