2022 Method
Changes 8
M

Document.NewFoundationSlab

Description:
Creates a foundation slab 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.
[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 NewFoundationSlab(
	CurveArray profile,
	FloorType floorType,
	Level level,
	bool structural,
	XYZ normal
)
  • profile
    An array of planar lines and arcs that represent the horizontal profile of the floor.
  • floorType
    A floor type to be used by the new floor instead of the default type.
  • level
    The level on which the floor is to be placed.
  • Boolean
    structural
    If set, specifies that the floor is structural in nature.
  • normal
    A vector that must be perpendicular to the profile which dictates which side of the floor is considered to be upper and down.
Return Value nullNothingnullptr if successful, a new foundation slab object within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .