RVTDocs.com

FamilyItemFactory.NewFormByCap

Method
Description:
Create new Form element by cap operation (to create a single-surface form), and add it into the Autodesk Revit family document.
Syntax
public Form NewFormByCap(
	bool isSolid,
	ReferenceArray profile
)
Parameters
Parameter Type Description
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
Type Description
Form If creation was successful new form is returned.