Get a Floor or Slab ConceptualConstructionType by its ConceptualConstructionFloorSlabType.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ElementId GetFloorOrSlabConstructionType(
Document ccda,
ConceptualConstructionFloorSlabType typeEnum
)
Parameters
- ccda Document
-
The Document.
- typeEnum ConceptualConstructionFloorSlabType
-
The ConceptualConstructionFloorSlabType to get the ConceptualConstructionType for.
Return Value
ElementId
Returns ElementId of a ConceptualConstructionType.
Exceptions
| Exception | Condition |
|---|
| ArgumentNullException |
A non-optional argument was null
|
| ArgumentOutOfRangeException |
The enum is invalid for ConceptualConstructionFloorSlabType.
-or-
A value passed for an enumeration argument is not a member of that enumeration
|
See Also
Reference