Revit 2026 API
Color |
Sets new ElementId value of entry.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetElementIdValue( ElementId value )
Public Sub SetElementIdValue ( value As ElementId )
public: void SetElementIdValue( ElementId^ value )
member SetElementIdValue : value : ElementId -> unit
Parameters
- value ElementId
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The entry has different storage type with ElementId. |
You should only use this method if the StorageType property reports the type of the entry as a ElementId.
See Also