M

Document.NewFloor

Description:
Creates a floor within the project with the given horizontal profile and floor style on the specified level.
Remarks:
The curves of the profile must be contiguous and the Face formed by profile should be suitable to create floor.
Overloads (3):
NewFloor(CurveArray,FloorType,Level,Boolean)
[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 NewFloor(
	CurveArray profile,
	FloorType floorType,
	Level level,
	bool structural
)
Return Value nullNothingnullptr if successful, a new floor object within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .