Gets the ForgeTypeId identifying the given built-in category.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ForgeTypeId GetBuiltInCategoryTypeId( BuiltInCategory categoryId )
Parameters
- categoryId BuiltInCategory
- The built-in category.
Return Value
ForgeTypeIdThe identifier of the given built-in category.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | categoryId is not a valid built-in category. See Category.IsBuiltInCategoryValid(BuiltInCategory). |
