ConceptualConstructionType.GetWindowOrSkylightConstructionType
Method
Description:
Get a Window or Skylight ConceptualConstructionType by its ConceptualConstructionWindowSkylightType.
Get a Window or Skylight ConceptualConstructionType by its ConceptualConstructionWindowSkylightType.
Syntax
public static ElementId GetWindowOrSkylightConstructionType(
Document ccda,
ConceptualConstructionWindowSkylightType typeEnum
)
Parameters
Parameter | Type | Description |
---|---|---|
ccda | Document | The Document. |
typeEnum | ConceptualConstructionWindowSkylightType | The ConceptualConstructionWindowSkylightType to get the ConceptualConstructionType for. |
Return Value
Type | Description |
---|---|
ElementId | Returns ElementId of a ConceptualConstructionType. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | The enum is invalid for ConceptualConstructionWindowSkylightType. -or- A value passed for an enumeration argument is not a member of that enumeration |