Creates a floor within the project with the given horizontal profile using the default floor style.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| Visual Basic |
|---|
Public Function NewFloor ( _
profile As CurveArray, _
structural As Boolean _
) As Floor |
Parameters
- profile
- Type: Autodesk.Revit.DB..::..CurveArray
An array of planar lines and arcs that represent the horizontal profile of the floor.
- structural
- Type: System..::..Boolean
If set, specifies that the floor is structural in nature.
Return Value
If successful a new floor object within the project, otherwise
nullNothingnullptra null reference (Nothing in Visual Basic).
Remarks
See Also