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, 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. |
| 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, 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. |
| 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) . |