You can now create new empty types, and select type objects from the type manager

This commit is contained in:
Dion Moult
2022-10-23 16:52:58 +11:00
parent 3cda25773d
commit 3809b5a34b
10 changed files with 62 additions and 27 deletions
@@ -234,14 +234,14 @@ class BIMModelProperties(PropertyGroup):
type_page: bpy.props.IntProperty(name="Type Page", default=1, update=update_type_page)
type_template: bpy.props.EnumProperty(
items=(
("1", "Custom Mesh", ""),
("2", "Vertical Layers", ""),
("2", "Horizontal Layers", ""),
("3", "Extruded Profile", ""),
("4", "Non-Geometric Type", ""),
("MESH", "Custom Mesh", ""),
("LAYERSET_AXIS2", "Vertical Layers", ""),
("LAYERSET_AXIS3", "Horizontal Layers", ""),
("PROFILESET", "Extruded Profile", ""),
("EMPTY", "Non-Geometric Type", ""),
),
name="Type Template",
default="1",
default="MESH",
)
type_class: bpy.props.EnumProperty(items=get_type_class, name="IFC Class", update=update_type_class)
type_predefined_type: bpy.props.EnumProperty(items=get_type_predefined_type, name="Predefined Type", default=None)