2021-09-30 08:46:02 +10:00
|
|
|
@context
|
|
|
|
|
Feature: Context
|
|
|
|
|
Manages geometric representation contexts and subcontexts
|
|
|
|
|
|
|
|
|
|
Scenario: Add subcontext
|
|
|
|
|
Given an empty IFC project
|
2021-09-30 12:08:07 +10:00
|
|
|
When I press "bim.add_subcontext(context='Model', subcontext='Body', target_view='MODEL_VIEW')"
|
2021-09-30 08:46:02 +10:00
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Remove subcontext
|
|
|
|
|
Given an empty IFC project
|
2021-09-30 12:08:07 +10:00
|
|
|
When the variable "context" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext')[0].id()"
|
|
|
|
|
And I press "bim.remove_subcontext(context={context})"
|
2021-09-30 08:46:02 +10:00
|
|
|
Then nothing happens
|