M

Document.NewSlab

Description:
Creates a slab within the project with the given horizontal profile using the default floor style.
Remarks:
The curves of the profile must be contiguous and the Face formed by profile should be suitable to create slab.
[ObsoleteAttribute("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().")]
public Floor NewSlab(
	CurveArray profile,
	Level level,
	Line slopedArrow,
	double slope,
	bool isStructural
)
  • profile
    An array of planar lines and arcs that represent the horizontal profile of the slab.
  • level
    The level on which the slab is to be placed.
  • slopedArrow
    A line use to control the sloped angle of the slab. It should be in the same face with profile.
  • Double
    slope
    The slope.
  • Boolean
    isStructural
    If set, specifies that the floor is structural in nature.
Return Value nullNothingnullptr If successful a new floor object within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .