BIM.updateElementProperty() function

Update the value of one BIM property of a single element.

Signature:

function updateElementProperty(modelId: string, elementId: string, property: BIMProperty): Promise<_BIMProperty>;

Parameters

ParameterDescription
modelIdThe model id
elementIdThe element id
propertyThe property to be updated. Either strValue or numValue must be valid

Returns:

Promise<_BIMProperty>

a promise contains a BIMProperty object

Example

Modelo.BIM.updateElementProperty(
  "yourModelId",
  "yourElementId",
  { name: "propertyName", groupKey: 3, strValue: 'someValue' }
)