mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
set_element_value - fix issues with classification, similar to 52ae759
This commit is contained in:
@@ -481,7 +481,7 @@ def set_element_value(
|
||||
except:
|
||||
pass
|
||||
return
|
||||
elif isinstance(element, (list, tuple)): # If we use regex
|
||||
elif isinstance(element, (list, tuple, set)): # If we use regex
|
||||
if key.isnumeric():
|
||||
try:
|
||||
element = element[int(key)]
|
||||
|
||||
Reference in New Issue
Block a user