mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
fix EnumProperty items
This commit is contained in:
@@ -10,7 +10,7 @@ from blenderbim.bim import schema
|
||||
class SvIfcByType(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.SvIfcCore):
|
||||
bl_idname = "SvIfcByType"
|
||||
bl_label = "IFC By Type"
|
||||
ifc_element_types = [(t, t, t, t, idx) for (idx, t) in enumerate(schema.IfcSchema().IfcElementType.keys())]
|
||||
ifc_element_types = [(t, t, t) for t in schema.IfcSchema().IfcElementType.keys()]
|
||||
file: StringProperty(name="file", update=updateNode)
|
||||
type: EnumProperty(name="type", items=ifc_element_types)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user