FamilyItemFactory.NewFormByThickenSingleSurface
Method
Description:
Create a new Form element by thickening a single-surface form, and add it into the Autodesk Revit family document.
Create a new Form element by thickening a single-surface form, and add it into the Autodesk Revit family document.
Syntax
public Form NewFormByThickenSingleSurface(
bool isSolid,
Form singleSurfaceForm,
XYZ thickenDir
)
Parameters
Parameter | Type | Description |
---|---|---|
isSolid | Boolean | Indicates if the Form is Solid or Void. |
singleSurfaceForm | Form | The single-surface form element. It can have one top/bottom face or one side face. |
thickenDir | XYZ | The offset of capped solid. |
Return Value
Type | Description |
---|---|
Form | This function will modify the input singleSurfaceForm and return the same element. |