NewFormByCap Method


Family Item Factory New Form By Cap Method

Create new Form element by cap operation (to create a single-surface form), and add it into the Autodesk Revit family document.

Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Form NewFormByCap(
	bool isSolid,
	ReferenceArray profile
)

Parameters

isSolid Boolean
Indicates if the Form is Solid or Void.
profile ReferenceArray
The profile of the newly created cap. It should consist of only one curve loop.

Return Value

Form
If creation was successful new form is returned.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →