ElementId(BuiltInCategory) Constructor

ElementId(BuiltInCategory) Constructor

Create an ElementId handle with the given BuiltInCategory id.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ElementId(
	BuiltInCategory categoryId
)
Public Sub New ( 
	categoryId As BuiltInCategory
)
public:
ElementId(
	BuiltInCategory categoryId
)
new : 
        categoryId : BuiltInCategory -> ElementId

Parameters

categoryId  BuiltInCategory
The id.
See Also