2026 Method
Changes 0
M

FamilyItemFactory.NewRevolution

Description:
Add a new Revolution instance into the Autodesk Revit family document.
Remarks:
This method creates an Revolution in a family document. The Revolution will be rotated the plane of the Revolution profile about the Axis.
public Revolution NewRevolution(
	bool isSolid,
	CurveArrArray profile,
	SketchPlane sketchPlane,
	Line axis,
	double startAngle,
	double endAngle
)
  • Boolean
    isSolid
    Indicates if the Revolution is Solid or Void.
  • profile
    The profile of the newly created revolution. This may contain more than one curve loop. Each loop must be a fully closed curve loop and the loops must not intersect. All loops must lie in the same plane. The loop can be a unbound circle or ellipse, but its geometry will be split in two in order to satisfy requirements for sketches used in extrusions.
  • sketchPlane
    The sketch plane for the revolution. The direction of revolution is determined by the normal for the sketch plane.
  • axis
    The axis of revolution. This axis must lie in the same plane as the curve loops.
  • Double
    startAngle
    The start angle of Revolution in radians.
  • Double
    endAngle
    The end angle of Revolution in radians.
Return Value Revolution If creation was successful the new revolution is returned, otherwise an exception with failure information will be thrown.