2021-10-16 16:52:47 +11:00
|
|
|
@material
|
|
|
|
|
Feature: Material
|
|
|
|
|
|
2022-03-18 17:24:59 +11:00
|
|
|
Scenario: Load materials
|
|
|
|
|
Given an empty IFC project
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='')"
|
2022-03-18 17:24:59 +11:00
|
|
|
When I press "bim.load_materials"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing materials
|
|
|
|
|
Given an empty IFC project
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='')"
|
2022-03-18 17:24:59 +11:00
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
When I press "bim.disable_editing_materials"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2022-03-19 22:12:58 +11:00
|
|
|
Scenario: Load materials - then add material
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
When I press "bim.add_material(obj='')"
|
|
|
|
|
Then the material "Default" exists
|
|
|
|
|
|
|
|
|
|
Scenario: Load materials - then add material set
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I set "scene.BIMMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
When I press "bim.add_material_set(set_type='IfcMaterialLayerSet')"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2021-10-21 19:40:10 +11:00
|
|
|
Scenario: Add default material
|
|
|
|
|
Given an empty IFC project
|
2022-03-19 22:12:58 +11:00
|
|
|
When I press "bim.add_material(obj='')"
|
2021-10-21 19:40:10 +11:00
|
|
|
Then the material "Default" exists
|
|
|
|
|
|
2021-11-10 18:01:10 +11:00
|
|
|
Scenario: Add material
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
|
|
|
|
And I add a material
|
2022-03-19 22:12:58 +11:00
|
|
|
When I press "bim.add_material(obj='Material')"
|
2021-11-10 18:01:10 +11:00
|
|
|
Then the material "Material" is an IFC material
|
|
|
|
|
|
|
|
|
|
Scenario: Remove material
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
|
|
|
|
And I add a material
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='Material')"
|
2022-03-21 12:04:51 +11:00
|
|
|
And the variable "material" is "{ifc}.by_type('IfcMaterial')[0].id()"
|
|
|
|
|
When I press "bim.remove_material(material={material})"
|
|
|
|
|
Then the material "Material" does not exist
|
|
|
|
|
|
|
|
|
|
Scenario: Remove material set
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I set "scene.BIMMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
And I press "bim.add_material_set(set_type='IfcMaterialLayerSet')"
|
|
|
|
|
And the variable "material" is "{ifc}.by_type('IfcMaterialLayerSet')[0].id()"
|
|
|
|
|
When I press "bim.remove_material_set(material={material})"
|
|
|
|
|
Then nothing happens
|
2021-11-10 18:01:10 +11:00
|
|
|
|
|
|
|
|
Scenario: Unlink material
|
2021-10-16 16:52:47 +11:00
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
|
|
|
|
And I add a material
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='Material')"
|
2021-10-16 16:52:47 +11:00
|
|
|
When I press "bim.unlink_material"
|
|
|
|
|
Then the material "Material" is not an IFC material
|
2021-11-10 18:04:54 +11:00
|
|
|
|
2022-11-04 17:02:57 +11:00
|
|
|
Scenario: Assign material - single material
|
2021-11-10 18:04:54 +11:00
|
|
|
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"
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='')"
|
2021-11-10 18:04:54 +11:00
|
|
|
When I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterial"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
Then the object "IfcWall/Cube" has the material "Default"
|
|
|
|
|
|
2022-11-04 17:02:57 +11:00
|
|
|
Scenario: Unassign material - single material
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterial"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.unassign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Enable editing assigned material - single material
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterial"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.enable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing assigned material - single material
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterial"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
When I press "bim.disable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Edit assigned material - single material
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterial"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
And the variable "material_set" is "{ifc}.by_type('IfcMaterial')[0].id()"
|
|
|
|
|
When I press "bim.edit_assigned_material(material_set={material_set})"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Assign material - material layer set
|
2021-11-10 18:04:54 +11:00
|
|
|
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"
|
2022-03-19 22:12:58 +11:00
|
|
|
And I press "bim.add_material(obj='')"
|
2021-11-10 18:04:54 +11:00
|
|
|
When I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
Then nothing happens
|
2022-03-22 13:25:26 +11:00
|
|
|
|
2022-11-04 17:02:57 +11:00
|
|
|
Scenario: Unassign material - material layer set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.unassign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Enable editing assigned material - material layer set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.enable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing assigned material - material layer set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
When I press "bim.disable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Edit assigned material - material layer set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialLayerSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
And the variable "material_set" is "{ifc}.by_type('IfcMaterialLayerSet')[0].id()"
|
|
|
|
|
When I press "bim.edit_assigned_material(material_set={material_set})"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Assign material - material profile set
|
2022-07-19 09:46:16 +10:00
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
When I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2022-11-04 17:02:57 +11:00
|
|
|
Scenario: Unassign material - material profile set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.unassign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Enable editing assigned material - material profile set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.enable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing assigned material - material profile set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
When I press "bim.disable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Edit assigned material - material profile set
|
|
|
|
|
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"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialProfileSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
And the variable "material_set" is "{ifc}.by_type('IfcMaterialProfileSet')[0].id()"
|
|
|
|
|
When I press "bim.edit_assigned_material(material_set={material_set})"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Assign material - material constituent set
|
2022-07-19 09:46:16 +10:00
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
When I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialConstituentSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2022-11-04 17:02:57 +11:00
|
|
|
Scenario: Unassign material - material constituent set
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialConstituentSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.unassign_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Enable editing assigned material - material constituent set
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialConstituentSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
When I press "bim.enable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing assigned material - material constituent set
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialConstituentSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
When I press "bim.disable_editing_assigned_material"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Edit assigned material - material constituent set
|
|
|
|
|
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 press "bim.add_material(obj='')"
|
|
|
|
|
And I set "active_object.BIMObjectMaterialProperties.material_type" to "IfcMaterialConstituentSet"
|
|
|
|
|
And I press "bim.assign_material"
|
|
|
|
|
And I press "bim.enable_editing_assigned_material"
|
|
|
|
|
And the variable "material_set" is "{ifc}.by_type('IfcMaterialConstituentSet')[0].id()"
|
|
|
|
|
When I press "bim.edit_assigned_material(material_set={material_set})"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2022-03-22 13:25:26 +11:00
|
|
|
Scenario: Select by material
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And the variable "material" is "{ifc}.by_type('IfcMaterial')[0].id()"
|
|
|
|
|
When I press "bim.select_by_material(material={material})"
|
|
|
|
|
Then nothing happens
|
2022-05-08 15:48:09 +10:00
|
|
|
|
|
|
|
|
Scenario: Expand material category
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
When I press "bim.expand_material_category(category='')"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Contract material category
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.load_materials"
|
|
|
|
|
And I press "bim.add_material(obj='')"
|
|
|
|
|
And I press "bim.expand_material_category(category='')"
|
|
|
|
|
When I press "bim.contract_material_category(category='')"
|
|
|
|
|
Then nothing happens
|