From 8cec71731537ed22241de65ae50a890850b6fd21 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Fri, 6 Sep 2024 19:49:38 -0500 Subject: [PATCH] fix #5304: Have demo project have Plan/Annotation/REFLECTED_PLAN_VIEW context --- src/bonsai/bonsai/core/project.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bonsai/bonsai/core/project.py b/src/bonsai/bonsai/core/project.py index 9b45f38507..5497d93c58 100644 --- a/src/bonsai/bonsai/core/project.py +++ b/src/bonsai/bonsai/core/project.py @@ -87,6 +87,9 @@ def create_project( project.run_context_add_context( context_type="Plan", context_identifier="Annotation", target_view="PLAN_VIEW", parent=plan ) + project.run_context_add_context( + context_type="Plan", context_identifier="Annotation", target_view="REFLECTED_PLAN_VIEW", parent=plan + ) project.run_root_assign_class(obj=site, ifc_class="IfcSite", context=body) project.run_root_assign_class(obj=building, ifc_class="IfcBuilding", context=body)