mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
You can now manage IFC actors in Blender.
This commit is contained in:
@@ -237,3 +237,43 @@ Scenario: Clear user
|
||||
Given an empty IFC project
|
||||
When I press "bim.clear_user(user={user})"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Add actor
|
||||
Given an empty IFC project
|
||||
And I press "bim.add_person"
|
||||
When I press "bim.add_actor"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Remove actor
|
||||
Given an empty IFC project
|
||||
And I press "bim.add_person"
|
||||
And I press "bim.add_actor"
|
||||
And the variable "actor" is "{ifc}.by_type('IfcActor')[-1].id()"
|
||||
When I press "bim.remove_actor(actor={actor})"
|
||||
Then nothing happens
|
||||
|
||||
Scenario: Enable editing actor
|
||||
Given an empty IFC project
|
||||
And I press "bim.add_person"
|
||||
And I press "bim.add_actor"
|
||||
And the variable "actor" is "{ifc}.by_type('IfcActor')[0].id()"
|
||||
When I press "bim.enable_editing_actor(actor={actor})"
|
||||
Then "scene.BIMOwnerProperties.active_actor_id" is "{actor}"
|
||||
|
||||
Scenario: Disable editing actor
|
||||
Given an empty IFC project
|
||||
And I press "bim.add_person"
|
||||
And I press "bim.add_actor"
|
||||
And the variable "actor" is "{ifc}.by_type('IfcActor')[0].id()"
|
||||
And I press "bim.enable_editing_actor(actor={actor})"
|
||||
When I press "bim.disable_editing_actor"
|
||||
Then "scene.BIMOwnerProperties.active_actor_id" is "0"
|
||||
|
||||
Scenario: Edit actor
|
||||
Given an empty IFC project
|
||||
And I press "bim.add_person"
|
||||
And I press "bim.add_actor"
|
||||
And the variable "actor" is "{ifc}.by_type('IfcActor')[0].id()"
|
||||
And I press "bim.enable_editing_actor(actor={actor})"
|
||||
When I press "bim.edit_actor"
|
||||
Then "scene.BIMOwnerProperties.active_actor_id" is "0"
|
||||
|
||||
Reference in New Issue
Block a user