mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
See #2887. Experimental edit mode toggle override to ensure mesh changes stay in sync and so that you can edit meshes without openings applied.
This commit is contained in:
@@ -41,7 +41,7 @@ Scenario: Add type instance - add a mesh where existing instances have changed c
|
||||
And the object "IfcWall/Wall" data is a "Tessellation" representation of "Model/Body/MODEL_VIEW"
|
||||
And the object "IfcWall/Wall" is selected
|
||||
And the variable "context" is "[c for c in {ifc}.by_type('IfcGeometricRepresentationSubContext') if c.ContextType == 'Plan' and c.ContextIdentifier == 'Body' and c.TargetView == 'PLAN_VIEW'][0].id()"
|
||||
And I set "scene.BIMRootProperties.contexts" to "{context}"
|
||||
And I set "active_object.BIMGeometryProperties.contexts" to "{context}"
|
||||
And I press "bim.add_representation"
|
||||
And the object "IfcWall/Wall" data is a "Annotation2D" representation of "Plan/Body/PLAN_VIEW"
|
||||
When I press "bim.add_constr_type_instance"
|
||||
@@ -524,4 +524,4 @@ Scenario: Create a door, undo and create a new door
|
||||
And I undo
|
||||
And I press "mesh.add_door()"
|
||||
Then nothing happens
|
||||
And the object "IfcDoor/IfcDoor" exists
|
||||
And the object "IfcDoor/IfcDoor" exists
|
||||
|
||||
Reference in New Issue
Block a user