NewFloor
Version comparisonPer-version detail
Click a version below to see what changed in that release vs your current frame (2022).
Not present in: 2023, 2024, 2025, 2025.3, 2026, 2027
2022
current
Document.NewFloor(CurveArray, FloorType, Level, Boolean)
Became obsolete in 2022: This method is deprecated in Revit 2022 and may be removed in the future version of Revit. To create new instance of Floor, call Floor.Create().
| profile | CurveArray | An array of planar lines and arcs that represent the horizontal profile of the floor. |
| floorType | FloorType | A floor type to be used by the new floor instead of the default type. |
| level | Level | The level on which the floor is to be placed. |
| structural | Boolean | If set, specifies that the floor is structural in nature. |
| → returns | nullNothingnullptr | if successful, a new floor object within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) . |
Document.NewFloor(CurveArray, FloorType, Level, Boolean)
Became obsolete in 2022: This method is deprecated in Revit 2022 and may be removed in the future version of Revit. To create new instance of Floor, call Floor.Create().
| profile | CurveArray | An array of planar lines and arcs that represent the horizontal profile of the floor. |
| floorType | FloorType | A floor type to be used by the new floor instead of the default type. |
| level | Level | The level on which the floor is to be placed. |
| structural | Boolean | If set, specifies that the floor is structural in nature. |
| → returns | nullNothingnullptr | if successful, a new floor object within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) . |