Revit 2025 API
ReferenceElement |
The element id for this reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementId ElementId { get; }
Public ReadOnly Property ElementId As ElementId Get
public: property ElementId^ ElementId { ElementId^ get (); }
member ElementId : ElementId with get
Property Value
ElementId
InvalidElementId will be returned for references that don't refer to a particular element.
See Also