2024 Method
Changes 0
M

Document.ConvertDetailToModelCurves

Description:
Converts a group of DetailCurves to equivalent ModelCurves.
Remarks:
This operation will create new ModelCurves with the same geometry of the original detail curves' geometry. The detail curves will be deleted from the document.
public ModelCurveArray ConvertDetailToModelCurves(
	View view,
	DetailCurveArray detailCurves
)
Return Value ModelCurveArray
  • System.ArgumentNullException
    Thrown when the input argument isnullNothingnullptra null reference (Nothingin Visual Basic).
  • System.ArgumentException
    Thrown when the given detail lines are not visible in the given view. Thrown when the detail lines are not in the same view or not parallel to the given view.
  • System.InvalidOperationException
    Thrown when one or more curves could not be successfully converted.