RVTDocs.com

ConceptualConstructionType.GetGBSId

Method
Description:
Gets the Green Building Studio identifier associated with the construction.
Remarks:
Sometimes the GBSId is different for the same ConceptualConstructionType depending on the mass subcategory it is related to. This is usually the case, for example, for window and skylight constructions, which do not share GBSid's even when they share ConceptualConstructionTypes.
Syntax
public int GetGBSId(
	ElementId massSurfaceSubCategoryId
)
Parameters
Parameter Type Description
massSurfaceSubCategoryId ElementId The ElementId of a valid Mass subcategory of a MassSurfaceData.
Return Value
Type Description
Int32 Returns the integer id used to represent the ConceptualConstructionType.
Exceptions
Exception Condition
ArgumentException The input Element massSurfaceSubCategoryId is not a valid subcategory value for MassSurfaceData. -or- The ElementId massSurfaceSubCategoryId is not appropriate for this ConceptualConstructionType.
ArgumentNullException A non-optional argument was null