2022-07-22 09:37:46 +02:00
|
|
|
@search
|
|
|
|
|
Feature: Search
|
|
|
|
|
|
|
|
|
|
Scenario: Select all walls
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
2023-09-24 18:44:56 +01:00
|
|
|
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement"
|
2022-07-22 09:37:46 +02:00
|
|
|
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
|
|
|
|
|
And I press "bim.assign_class"
|
2024-04-01 17:22:49 +05:00
|
|
|
And I press "bim.add_filter_group(module='search')"
|
|
|
|
|
And I set "scene.BIMSearchProperties.facet" to "entity"
|
|
|
|
|
And I press "bim.add_filter(index=0, type='entity', module='search')"
|
|
|
|
|
And I set "scene.BIMSearchProperties.filter_groups[0].filters[0].value" to "IfcWall"
|
2024-07-31 12:31:44 +05:00
|
|
|
When I press "bim.search(property_group='BIMSearchProperties')"
|
2022-07-22 09:37:46 +02:00
|
|
|
Then the object "IfcWall/Cube" is selected
|