mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix #2349. Be more defensive on invalid smart annotations.
This commit is contained in:
@@ -238,6 +238,8 @@ class Selector:
|
||||
if key in info and info[key] == value:
|
||||
element = material
|
||||
element = material_definition
|
||||
if not element:
|
||||
return None
|
||||
except:
|
||||
return
|
||||
elif "." in key and key.split(".")[0] == "container":
|
||||
|
||||
Reference in New Issue
Block a user