RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Category

Category.GetBuiltInCategoryTypeId

Method
Description:
Gets the ForgeTypeId identifying the given built-in category.
Remarks:
The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).
Syntax
Parameters
Parameter Type Description
categoryId BuiltInCategory The built-in category.
Return Value
Type Description
ForgeTypeId The identifier of the given built-in category.
Exceptions
Exception Condition
ArgumentException categoryId is not a valid built-in category. See Category.IsBuiltInCategoryValid(BuiltInCategory).