Update the value of one BIM property of a single element.
Signature:
function updateElementProperty(modelId: string, elementId: string, property: BIMProperty): Promise<_BIMProperty>;
Parameter | Description |
---|---|
modelId | The model id |
elementId | The element id |
property | The property to be updated. Either strValue or numValue must be valid |
Returns:
Promise<_BIMProperty>
a promise contains a BIMProperty object
Modelo.BIM.updateElementProperty(
"yourModelId",
"yourElementId",
{ name: "propertyName", groupKey: 3, strValue: 'someValue' }
)