Message 1 of 3

Not applicable
06-21-2017
11:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am having some issues trying to set a parameter to Included from a derived part. The following runs without error, and I can put a watch on oDerivedPartDef.Definition.Parameters.Item("Plate_6_Thk").IncludeEntity, and it never changes from False to True. What am I missing?
Also Is there no way to change a Revision Cell to or from Static?
Public Sub Derived() 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 If Err Then Stop End Sub
Solved! Go to Solution.