Get a Window or Skylight ConceptualConstructionType by its ConceptualConstructionWindowSkylightType.
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2012
Syntax
C# |
---|
public static ElementId GetWindowOrSkylightConstructionType( Document ccda, ConceptualConstructionWindowSkylightType typeEnum ) |
Visual Basic |
---|
Public Shared Function GetWindowOrSkylightConstructionType ( _ ccda As Document, _ typeEnum As ConceptualConstructionWindowSkylightType _ ) As ElementId |
Visual C++ |
---|
public: static ElementId^ GetWindowOrSkylightConstructionType( Document^ ccda, ConceptualConstructionWindowSkylightType typeEnum ) |
Parameters
- ccda
- Type: Autodesk.Revit.DB..::..Document
The Document.
- typeEnum
- Type: Autodesk.Revit.DB.Analysis..::..ConceptualConstructionWindowSkylightType
The ConceptualConstructionWindowSkylightType to get the ConceptualConstructionType for.
Return Value
Returns ElementId of a ConceptualConstructionType.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | The enum is invalid for ConceptualConstructionWindowSkylightType. -or- A value passed for an enumeration argument is not a member of that enumeration |