Revit 2026 API
Part |
Identifies the curves that were used to create the part.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static IList<Curve> GetSplittingCurves( Document document, ElementId partId )
Public Shared Function GetSplittingCurves ( document As Document, partId As ElementId ) As IList(Of Curve)
public: static IList<Curve^>^ GetSplittingCurves( Document^ document, ElementId^ partId )
static member GetSplittingCurves : document : Document * partId : ElementId -> IList<Curve>
Parameters
Return Value
IListCurveThe curves 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 |
See Also