mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Rename source dir
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
@context
|
||||
Feature: Context
|
||||
Manages geometric representation contexts and subcontexts
|
||||
|
||||
Scenario: Add context
|
||||
Given an empty IFC project
|
||||
When I press "bim.add_context(context_type='Model', context_identifier='', target_view='', parent=0)"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Add a subcontext
|
||||
Given an empty IFC project
|
||||
When the variable "parent" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext', include_subtypes=False)[0].id()"
|
||||
When I press "bim.add_context(context_type='Model', context_identifier='Body', target_view='MODEL_VIEW', parent={parent})"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Remove context
|
||||
Given an empty IFC project
|
||||
When the variable "context" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext')[0].id()"
|
||||
And I press "bim.remove_context(context={context})"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Enable editing context
|
||||
Given an empty IFC project
|
||||
When I press "bim.add_context(context_type='Model', context_identifier='', target_view='', parent=0)"
|
||||
And the variable "context" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext')[0].id()"
|
||||
And I press "bim.enable_editing_context(context={context})"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Disable editing context
|
||||
Given an empty IFC project
|
||||
When I press "bim.add_context(context_type='Model', context_identifier='', target_view='', parent=0)"
|
||||
And the variable "context" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext')[0].id()"
|
||||
And I press "bim.enable_editing_context(context={context})"
|
||||
And I press "bim.disable_editing_context()"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Edit context
|
||||
Given an empty IFC project
|
||||
When I press "bim.add_context(context_type='Model', context_identifier='', target_view='', parent=0)"
|
||||
And the variable "context" is "IfcStore.get_file().by_type('IfcGeometricRepresentationContext')[0].id()"
|
||||
And I press "bim.enable_editing_context(context={context})"
|
||||
And I press "bim.edit_context"
|
||||
Then nothing happens
|
||||
Reference in New Issue
Block a user