Closed saintcodec closed 3 months ago
A similar question has been asked before - it is a duplicate of #621.
From the attributeName "PowerFactor" and the original value "1.0", I assume this property is part of a Pset_ElectricalDeviceCommon property set. Thus you want to use the method setWrappedDoubleAttribute
with type IfcNormalisedRatioMeasure
.
I am encountering an issue when attempting to modify the NominalValue attribute of an IfcPropertySingleValue object using the setStringAttribute method within a transaction. Despite NominalValue visibly existing in the data retrieved by getDataObjectByOid, attempts to modify this attribute return an error stating that the attribute does not exist.
What i did:
Retrieve an object using getDataObjectByOid, which shows NominalValue in the list of attributes.
Start a transaction using startTransaction.
Attempt to modify the NominalValue attribute using:
Server response:
BIMserver version: 1.5.184
Could someone please assist in clarifying why this issue might be occurring, and if there's a specific approach or method required for modifying attributes such as NominalValue for IfcPropertySingleValue objects in BIMserver?