PartUtils.FindMergeableClusters
Description:
Segregates a set of elements into subsets which are valid for merge.
Segregates a set of elements into subsets which are valid for merge.
Remarks:
Element ids in the input set that do not correspond to Part elements will be ignored, as will element ids corresponding to Part elements that already have associated parts.
Element ids in the input set that do not correspond to Part elements will be ignored, as will element ids corresponding to Part elements that already have associated parts.
-
docThe document.
-
ICollection<ElementId>partIdsA set of element ids.
Return Value
IList<ICollection<ElementId>>
An array of clusters such that all the elements in a single cluster
are valid for merge. Each cluster will be maximal in that appending
any of the other Parts specified as input will result in a collection
that is not valid for merge.
-
A non-optional argument was null