mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
fix #5304: Have demo project have Plan/Annotation/REFLECTED_PLAN_VIEW context
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user