FabricationPartSplitStraight(Document, ElementId, XYZ) Method |
Splits the straight into two at the passed in point.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic ElementId SplitStraight(
Document document,
ElementId partId,
XYZ position
)
Public Function SplitStraight (
document As Document,
partId As ElementId,
position As XYZ
) As ElementId
public:
ElementId^ SplitStraight(
Document^ document,
ElementId^ partId,
XYZ^ position
)
member SplitStraight :
document : Document *
partId : ElementId *
position : XYZ -> ElementId
Parameters
- document Document
-
The document.
- partId ElementId
-
Identifier of the straight to split.
- position XYZ
-
The position to split in the straight.
Return Value
ElementId
Returns the element identifier of the new straight.
Exceptions
See Also