When assigning types, your preference of dynamic voids are now preserved.

This commit is contained in:
Dion Moult
2021-10-19 15:43:14 +11:00
parent c1b53859ee
commit 3daf4203d1
16 changed files with 345 additions and 53 deletions
@@ -0,0 +1,17 @@
@type
Feature: Type
Scenario: Assign type
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 I add an empty
And the object "Empty" is selected
And I set "scene.BIMRootProperties.ifc_product" to "IfcElementType"
And I set "scene.BIMRootProperties.ifc_class" to "IfcWallType"
And I press "bim.assign_class"
When the variable "type" is "{ifc}.by_type('IfcWallType')[0].id()"
And I press "bim.assign_type(relating_type={type}, related_object="IfcWall/Cube")"
Then nothing happens