Share

Category.GetBuiltInCategoryTypeId Method

Gets the ForgeTypeId identifying the given built-in category.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static ForgeTypeId GetBuiltInCategoryTypeId(
	BuiltInCategory categoryId
)

Parameters

categoryId  BuiltInCategory
The built-in category.

Return Value

ForgeTypeId
The identifier of the given built-in category.

Exceptions

ExceptionCondition
ArgumentException categoryId is not a valid built-in category. See Category.IsBuiltInCategoryValid(BuiltInCategory).

Remarks

The given BuiltInCategory value must be valid according to Category.IsBuiltInCategoryValid(BuiltInCategory).

See Also

Reference

Was this information helpful?