Minor fix

This commit is contained in:
Dion Moult
2022-03-15 16:53:31 +11:00
parent 38b708ff1f
commit 379d6d9392
5 changed files with 6 additions and 5 deletions
@@ -40,7 +40,7 @@ Scenario: Add type instance - add a mesh where existing instances have changed c
And I press "bim.add_type_instance"
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 "{ifc}.by_type('IfcGeometricRepresentationSubContext')[-1].id()"
And the variable "context" is "[c for c in {ifc}.by_type('IfcGeometricRepresentationSubContext') if c.TargetView == 'PLAN_VIEW'][0].id()"
And I set "scene.BIMRootProperties.contexts" to "{context}"
And I press "bim.add_representation"
And the object "IfcWall/Wall" data is a "Annotation2D" representation of "Plan/Annotation/PLAN_VIEW"