mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
template_file - add a note
This commit is contained in:
@@ -368,7 +368,13 @@ class BIMProjectProperties(PropertyGroup):
|
||||
links: CollectionProperty(name="Links", type=Link)
|
||||
active_link_index: IntProperty(name="Active Link Index")
|
||||
export_schema: EnumProperty(items=get_export_schema, name="IFC Schema", update=update_export_schema)
|
||||
template_file: EnumProperty(items=get_template_file, name="Template File")
|
||||
template_file: EnumProperty(
|
||||
items=get_template_file,
|
||||
name="Template File",
|
||||
description=(
|
||||
"Template to use for a new project. All types from the template will be appended to a new project)."
|
||||
),
|
||||
)
|
||||
|
||||
# Project library UI.
|
||||
library_file: EnumProperty(items=get_library_file, name="Library File", update=update_library_file)
|
||||
|
||||
@@ -36,6 +36,9 @@ def create_project(
|
||||
if ifc.get():
|
||||
return
|
||||
|
||||
# TODO: simplify by generating IFC file and then just import it using IfcImporter
|
||||
# instead of handling Blender objects logic here?
|
||||
|
||||
ifc.set(ifc.run("project.create_file", version=schema))
|
||||
|
||||
if schema == "IFC2X3":
|
||||
|
||||
Reference in New Issue
Block a user