2024 Method
Changes 0
M

Document.ConvertModelToSymbolicCurves

Description:
Converts a group of ModelCurves to equivalent SymbolicCurves.
Remarks:
This operation will create new SymbolicCurves with the modelCurves' geometry curves and delete the ModelCurve in the array. If modelCurves are not parallel to the workplane, they will be projected to the workplane and create new SymbolicCurves with the projected curves.
public SymbolicCurveArray ConvertModelToSymbolicCurves(
	View view,
	ModelCurveArray modelCurves
)
  • view
    The view where the new lines will be created. The lines are projected on the view workplane. The view workplane must be parallel to the view plane. If the lines are not parallel to the view plane, lines are foreshortened and arcs are converted to ellipses. Splines are modified.
  • modelCurves
    The model curve array to be converted.
Return Value SymbolicCurveArray
  • System.ArgumentNullException
    Thrown when the input argument isnullNothingnullptra null reference (Nothingin Visual Basic).
  • System.ArgumentException
    Thrown when view is invalid to create SymbolicCurves on it.
  • System.InvalidOperationException
    Thrown when current document is a family. Thrown when one or more curves could not be successfully converted, perhaps because some of the input curves could not be projected onto the active workplane of the view.