mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
16 lines
506 B
Gherkin
16 lines
506 B
Gherkin
|
|
@root
|
||
|
|
Feature: Root
|
||
|
|
|
||
|
|
Scenario: Unlink object
|
||
|
|
Given an empty IFC project
|
||
|
|
And I add a cube
|
||
|
|
And the object "Cube" is selected
|
||
|
|
And I add a material
|
||
|
|
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall"
|
||
|
|
And I press "bim.assign_class"
|
||
|
|
And I press "bim.add_material"
|
||
|
|
When I press "bim.unlink_object(obj='IfcWall/Cube')"
|
||
|
|
Then the object "Cube" is not an IFC element
|
||
|
|
And the material "Material" is not an IFC material
|
||
|
|
And the material "Material" is not an IFC style
|