MechanicalUtils.BreakCurve
Description:
Breaks the duct curve into two parts at the given position.
Breaks the duct curve into two parts at the given position.
Remarks:
This method is not applicable for breaking the flex duct.
This method is not applicable for breaking the flex duct.
-
documentThe document.
-
ductIdThe element id of the duct curve to break.
-
ptBreakThe 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.
-
"The element is neither a duct nor a duct placeholder." -or- "The given point is not on the duct curve."
-
A non-optional argument was NULL