2020 Method
Changes 4
M

Arc.Create

Description:
Creates a new geometric arc object based on plane, radius, 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(Plane,Double,Double,Double)
public static Arc Create(
	Plane plane,
	double radius,
	double startAngle,
	double endAngle
)
Return Value The new arc. The new arc.
Arc CreateArcByGivingPlane(Autodesk.Revit.ApplicationServices.Application application, Plane plane)
{
    // Create an arc which is placed on the plane and whose center is the plane's origin
    double radius = 10;
    double startAngle = 0;      // The unit is radian
    double endAngle = 2 * Math.PI;        // this arc will be a circle
    return Arc.Create(plane, radius, startAngle, endAngle);
}