NewSlab
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.NewSlab(CurveArray, Level, Line, Double, 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 slab. |
| level | Level | The level on which the slab is to be placed. |
| slopedArrow | Line | A line use to control the sloped angle of the slab. It should be in the same face with profile. |
| slope | Double | The slope. |
| isStructural | 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.NewSlab(CurveArray, Level, Line, Double, 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 slab. |
| level | Level | The level on which the slab is to be placed. |
| slopedArrow | Line | A line use to control the sloped angle of the slab. It should be in the same face with profile. |
| slope | Double | The slope. |
| isStructural | 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) . |