ConceptualSurfaceType.GetByMassSubCategoryId
Method
Description:
Get the ConceptualSurfaceType by its mass subcategory id.
Get the ConceptualSurfaceType by its mass subcategory id.
Syntax
public static ConceptualSurfaceType GetByMassSubCategoryId(
Document cda,
ElementId massSubCategoryId
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| cda | Document | The document. |
| massSubCategoryId | ElementId | The mass subcategory id to get the ConceptualSurfaceType for. |
Return Value
| Type | Description |
|---|---|
| ConceptualSurfaceType | Returns ConceptualSurfaceType associated with input id or NULL. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The mass sub-category is none of the OST_MassInteriorWall, OST_MassExteriorWall, OST_MassExteriorWallUnderground, OST_MassRoof, OST_MassFloor, OST_MassSlab, OST_MassShade, OST_MassGlazing, OST_MassSkylights, or OST_MassOpening. |
| ArgumentNullException | A non-optional argument was null |