Files
IfcOpenShell/src/blenderbim/test/bim/feature/search.feature
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
676 B
Gherkin
Raw Normal View History

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
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
And I press "bim.assign_class"
2022-07-25 11:13:15 +02:00
And I add a new item to "scene.IfcSelectorProperties.groups"
And I add a new item to "scene.IfcSelectorProperties.groups[0].queries"
2022-07-22 09:37:46 +02:00
And I set "scene.IfcSelectorProperties.groups[0].queries[0].selector" to "IFC Class"
And I set "scene.IfcSelectorProperties.groups[0].queries[0].active_option" to "124: IfcWall"
When I press "bim.filter_model_elements(option='select')"
Then the object "IfcWall/Cube" is selected