Method MergePartOccurrencesByFinalAssemblies
MergePartOccurrencesByFinalAssemblies(OccurrenceList, MergeHiddenPartsMode, bool)
Merge all final-level parts (ie occurrences having for children exclusively occurrences with part components) under each assembly together (grouped by shape type: BRep, Tesselled surface, Joint)
Declaration
[HandleProcessCorruptedStateExceptions]
public void MergePartOccurrencesByFinalAssemblies(OccurrenceList roots = null, MergeHiddenPartsMode mergeHiddenPartsMode = MergeHiddenPartsMode.Destroy, bool CollapseToParent = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | roots | Roots occurrences for the process (will not be removed) |
MergeHiddenPartsMode | mergeHiddenPartsMode | Hidden parts handling mode, Destroy them, make visible or merge separately |
bool | CollapseToParent | If true, final level unique merged part will replace it's parent |