<Code Lib>
2026 Method
Changes 0
M

Element.GetTypeId

You are viewing the Revit 2026 API. This page also exists in Revit 2027 (latest).

Description:
Returns the identifier of this element's type.
Remarks:
Some elements cannot have type assigned, in which case this method returns invalid element id.

public ElementId GetTypeId()

ElementId The id of the element's type, or invalid element id if the element cannot have type assigned.

Loading…