Gets an ElementId value from the given element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementId GetElementIdValue( Element element )
Parameters
- element Element
- The element to query.
Return Value
ElementIdThe ElementId value from the element.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |