Gets the user-visible name for a gbXMLBuildingType.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2011
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- buildingType
- Type: Autodesk.Revit.DB.Analysis gbXMLBuildingType
The gbXMLBuildingType to get the user-visible name.
- document
- Type: Autodesk.Revit.DB Document
The document from which to get the gbXMLBuildingType.
Remarks
The name is obtained in the current Revit language.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | The input gXMLBuildingType is not available in the document. |
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |