FamilyItemFactory.NewRevolveForms
Description:
Create new Form elements by revolve operation, and add them into the Autodesk Revit family document.
Create new Form elements by revolve operation, and add them into the Autodesk Revit family document.
Remarks:
Typically this operation produces only a single form, but some combinations of arguments will create multiple forms from a single profile.
Typically this operation produces only a single form, but some combinations of arguments will create multiple forms from a single profile.
public FormArray NewRevolveForms(
bool isSolid,
ReferenceArray profile,
Reference axis,
double startAngle,
double endAngle
)
-
BooleanisSolidIndicates if the Form is Solid or Void.
-
profileThe profile of the newly created revolution. It should consist of only one curve loop. The profile must be in the same plane as the axis.
-
axisThe axis of revolution. The axis is a line that must lie in the same plane as the curves in the profile.
-
DoublestartAngleThe start angle of Revolution in radians.
-
DoubleendAngleThe end angle of Revolution in radians.