Added_MODEL_VIEW_context

added...
context_type="Model", context_identifier="Annotation", target_view="MODEL_VIEW", parent=model
from: https://github.com/IfcOpenShell/IfcOpenShell/issues/2890
This commit is contained in:
Ryan Schultz
2023-03-22 08:20:59 -05:00
committed by Dion Moult
parent fc55a48c11
commit 2003bfe4fe
@@ -53,6 +53,9 @@ def create_project(ifc, project, schema=None, template=None):
project.run_context_add_context( project.run_context_add_context(
context_type="Model", context_identifier="Annotation", target_view="ELEVATION_VIEW", parent=model context_type="Model", context_identifier="Annotation", target_view="ELEVATION_VIEW", parent=model
) )
project.run_context_add_context(
context_type="Model", context_identifier="Annotation", target_view="MODEL_VIEW", parent=model
)
project.run_context_add_context( project.run_context_add_context(
context_type="Model", context_identifier="Profile", target_view="ELEVATION_VIEW", parent=model context_type="Model", context_identifier="Profile", target_view="ELEVATION_VIEW", parent=model
) )