<Code Lib>
2021 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
)

Return Value ElementId The new duct curve element id if successful otherwise if a failure occurred an invalidElementId is returned.

Loading…