mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
support tuples
This commit is contained in:
committed by
Thomas Krijnen
parent
1acc743370
commit
a5353e02b5
@@ -201,7 +201,7 @@ class Usecase:
|
|||||||
"""
|
"""
|
||||||
value = self.settings["properties"][prop.Name]
|
value = self.settings["properties"][prop.Name]
|
||||||
unit, value = self.unpack_unit_value(value)
|
unit, value = self.unpack_unit_value(value)
|
||||||
if isinstance(value, list):
|
if isinstance(value, (tuple, list)):
|
||||||
sel_vals = []
|
sel_vals = []
|
||||||
for val in value:
|
for val in value:
|
||||||
primary_measure_type = prop.EnumerationReference.EnumerationValues[
|
primary_measure_type = prop.EnumerationReference.EnumerationValues[
|
||||||
|
|||||||
Reference in New Issue
Block a user