GetDefaultFloorType Method


Returns id of default floor type.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022

Syntax

C#
public static ElementId GetDefaultFloorType(
	Document document,
	bool isFoundation
)
Visual Basic
Public Shared Function GetDefaultFloorType ( _
	document As Document, _
	isFoundation As Boolean _
) As ElementId
Visual C++
public:
static ElementId^ GetDefaultFloorType(
	Document^ document, 
	bool isFoundation
)

Parameters

document
Type: Autodesk.Revit.DB Document
The document.
isFoundation
Type: System Boolean
True to return id of foundation floor type.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

See Also