FamilyItemFactory.NewExtrusionForm
Description:
Create new Form element by Extrude operation, and add it into the Autodesk Revit family document.
Create new Form element by Extrude operation, and add it into the Autodesk Revit family document.
public Form NewExtrusionForm(
bool isSolid,
ReferenceArray profile,
XYZ direction
)
-
BooleanisSolidIndicates if the Form is Solid or Void.
-
profileThe profile of extrusion. It should consist of only one curve loop.
-
directionThe direction of extrusion, with its length the length of the extrusion. The direction must be perpendicular to the plane determined by profile. The length of vector must be non-zero.
-
Thrown when creation is attempted in Conceptual Mass, 2D, or other family where extrusions cannot be created.