2027 Method
Changes 0
M

MechanicalUtils.BreakCurve

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