Part |
Identifies the elements ( reference planes, levels, grids ) that were used to create the part.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

public static ISet<ElementId> GetSplittingElements(
Document document,
ElementId partId
)
Parameters
Return Value
ISet ElementIdThe elements that created the part. Empty if partId is not a Part or Part is not divided.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
