mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +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:
|
if key in info and info[key] == value:
|
||||||
element = material
|
element = material
|
||||||
element = material_definition
|
element = material_definition
|
||||||
|
if not element:
|
||||||
|
return None
|
||||||
except:
|
except:
|
||||||
return
|
return
|
||||||
elif "." in key and key.split(".")[0] == "container":
|
elif "." in key and key.split(".")[0] == "container":
|
||||||
|
|||||||
Reference in New Issue
Block a user