Revit 2026 API
FloorGet |
Returns id of default floor type.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static ElementId GetDefaultFloorType( Document document, bool isFoundation )
Public Shared Function GetDefaultFloorType ( document As Document, isFoundation As Boolean ) As ElementId
public: static ElementId^ GetDefaultFloorType( Document^ document, bool isFoundation )
static member GetDefaultFloorType : document : Document * isFoundation : bool -> ElementId
Parameters
- document Document
- The document.
- isFoundation Boolean
- True to return id of foundation floor type.
Return Value
ElementId| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also