Update some properties of an existing element.
To support clearing a property value, every property name that is present in the
elProps object will be updated even if the value is
To keep an individual element property unchanged, it should either be excluded from the
elProps parameter or set to its current value.
updateElement(elProps: ElementProps): void
note As described above, this is a special case where there is a difference between a property being excluded and a property being present in
elProps but set to
throws IModelError if unable to update the element.
|elProps||ElementProps||the properties of the element to update.|
- core/backend/src/IModelDb.ts Line 1664
Last Updated: 25 February, 2021