Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following in an iLogic script which sets the body type of the derived part and I would like to also remove objects by visibility and patch some holes.
'create the derived assembly deffinition Dim oDerivedAssemblyDef As DerivedAssemblyDefinition oDerivedAssemblyDef = oPartDoc.ComponentDefinition.ReferenceComponents.DerivedAssemblyComponents.CreateDefinition(sPathandName & ".iam")
I believe I need
DerivedAssemblyDefinition.GetRemoveByVisibilityOptions(DerivedGeometryRemovalEnum.kDerivedRemovePartsAndFaces, VisibilityPercentage = 50, IgnoreSurfaceFeatures = True)
and
DerivedAssemblyDefinition.SetHolePatchingOptions(DerivedHolePatchEnum.kDerivedPatchAll)
But I don't know how to combine these arguments, any help would be great
Solved! Go to Solution.