fix #5304: Have demo project have Plan/Annotation/REFLECTED_PLAN_VIEW context

This commit is contained in:
Ryan Schultz
2024-09-06 19:49:38 -05:00
parent 7905cd8bd3
commit 8cec717315
+3
View File
@@ -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)