fix "cost_item quantity updates" bug when editing a QTO

This commit is contained in:
Sigma Dimensions
2023-04-19 01:01:10 +00:00
parent 849d6118d0
commit ed4ba4d0d3
6 changed files with 66 additions and 13 deletions
@@ -212,6 +212,19 @@ Scenario: Edit pset - object
When I press "bim.edit_pset(obj='IfcWall/Cube', obj_type='Object')"
Then nothing happens
Scenario: Edit qto - object
Given an empty IFC project
And I add a cube
And the object "Cube" is selected
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
And I press "bim.assign_class"
And the object "IfcWall/Cube" is selected
And I set "active_object.PsetProperties.qto_name" to "Qto_WallBaseQuantities"
When I press "bim.add_qto(obj='IfcWall/Cube', obj_type='Object')"
And I set "active_object.PsetProperties.properties[0].metadata.float_value" to "0.42"
And I press "bim.edit_pset(obj='IfcWall/Cube', obj_type='Object')"
Then nothing happens
Scenario: Edit pset - material
Given an empty IFC project
And I add a cube