template_file - add a note

This commit is contained in:
Andrej730
2025-03-28 15:28:07 +05:00
parent fd423f21e2
commit 81b5fc30c7
2 changed files with 10 additions and 1 deletions
+7 -1
View File
@@ -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)
+3
View 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":