RVTDocs.com

FabricationPart.SplitStraight(Document, ElementId, XYZ)

Method
Description:
Splits the straight into two at the passed in point.
Syntax
public ElementId SplitStraight(
	Document document,
	ElementId partId,
	XYZ position
)
Parameters
Parameter Type Description
document Document The document.
partId ElementId Identifier of the straight to split.
position XYZ The position to split in the straight.
Return Value
Type Description
ElementId Returns the element identifier of the new straight.
Exceptions
Exception Condition
ArgumentException The part is not a straight. -or- The position is not on the straight.
ArgumentNullException A non-optional argument was null