Home > @modelo.io/api > BIM > updateElementsProperty

BIM.updateElementsProperty() function

Update the value of a common property of some elements.

Signature:

function updateElementsProperty(modelId: string, elementIds: string[], property: BIMProperty): Promise<_BIMProperty>;

Parameters

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

Returns:

Promise<_BIMProperty>

a promise contains a BIMProperty object