2027 Method
Changes 0
M

PlumbingUtils.BreakCurve

Description:
Breaks the pipe curve into two parts at the given position.
Remarks:
This method is not applicable for breaking the flex pipe.
public static ElementId BreakCurve(
	Document document,
	ElementId pipeId,
	XYZ ptBreak
)
  • document
    The document.
  • pipeId
    The element id of the pipe curve to break.
  • ptBreak
    The break point on the pipe curve.
Return Value ElementId The new pipe curve element id if successful otherwise if a failure occurred an invalidElementId is returned.