Fix error searching for annotation types #7103

This commit is contained in:
Andrej730
2025-09-10 14:58:15 +05:00
parent 7bea3d9d10
commit 1e9239b352
+3
View File
@@ -1117,6 +1117,9 @@ class BIM_OT_enum_property_search(bpy.types.Operator):
type_elements = []
for identifier in self.identifiers:
# Skip 'Untyped' option for annotation types.
if identifier == "0":
continue
element = ifc_file.by_id(int(identifier))
if element and element.is_a().endswith("Type"):
type_elements.append(element)