2026 Method
Changes 5
M

Arc.Create

Description:
Creates a new geometric arc object based on center, radius, unit vectors, and angles.
Remarks:
If the angle range is equal to or greater than 2 * PI, the curve will be automatically converted to an unbounded circle.
Overloads (3):
Create(XYZ,Double,Double,Double,XYZ,XYZ)
public static Arc Create(
	XYZ center,
	double radius,
	double startAngle,
	double endAngle,
	XYZ xAxis,
	XYZ yAxis
)
  • center
    The center of the arc.
  • Double
    radius
    The radius of the arc.
  • Double
    startAngle
    The start angle of the arc (in radians).
  • Double
    endAngle
    The end angle of the arc (in radians).
  • xAxis
    The x axis to define the arc plane. Must be normalized.
  • yAxis
    The y axis to define the arc plane. Must be normalized.
Return Value Arc The new arc.
  • A non-optional argument was NULL
  • xAxis is not length 1.0. -or- yAxis is not length 1.0. -or- The given value for radius must be between 0 and 30000 feet.
  • The vectors xAxis and yAxis are not perpendicular. -or- Start angle must be less than end angle. -or- Curve length is too small for Revit's tolerance (as identified by Application.ShortCurveTolerance).