mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 21:53:40 +00:00
Fix #2756. Bug where reassigning classes with a enum didn't work.
This commit is contained in:
@@ -6,11 +6,12 @@ Scenario: Reassign class
|
||||
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 I press "bim.assign_class(ifc_class='IfcWall', predefined_type='SOLIDWALL')"
|
||||
And I press "object.duplicate_move"
|
||||
When the object "IfcWall/Cube.001" is selected
|
||||
And I press "bim.enable_reassign_class"
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcSlab"
|
||||
And I set "scene.BIMRootProperties.ifc_predefined_type" to "BASESLAB"
|
||||
And I press "bim.reassign_class"
|
||||
Then the object "IfcSlab/Cube" is an "IfcSlab"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user