mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
Fix failing facet test after 124c028
This commit is contained in:
@@ -797,7 +797,7 @@ class Property(Facet):
|
|||||||
props[pset_name][prop_entity.Name] = values
|
props[pset_name][prop_entity.Name] = values
|
||||||
elif prop_entity.is_a("IfcPropertyTableValue"):
|
elif prop_entity.is_a("IfcPropertyTableValue"):
|
||||||
values = []
|
values = []
|
||||||
units = ifcopenshell.util.unit.get_property_unit(prop_entity, inst.wrapped_data.file)
|
units = ifcopenshell.util.unit.get_property_table_unit(prop_entity, inst.wrapped_data.file)
|
||||||
for attribute in ["Defining", "Defined"]:
|
for attribute in ["Defining", "Defined"]:
|
||||||
column_values = props[pset_name][prop_entity.Name][f"{attribute}Values"]
|
column_values = props[pset_name][prop_entity.Name][f"{attribute}Values"]
|
||||||
if not column_values:
|
if not column_values:
|
||||||
|
|||||||
Reference in New Issue
Block a user