Segregates a set of elements into subsets which are
valid for merge.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static IList<ICollection<ElementId>> FindMergeableClusters( Document doc, ICollection<ElementId> partIds )
Parameters
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |