mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
entity_instance: switch to use of declaration as a property
Fixes most of the bonsai tests.
This commit is contained in:
@@ -168,7 +168,7 @@ class ifc5D2json:
|
||||
data["UnitSymbol"] = ifcopenshell.util.unit.get_unit_symbol(unit)
|
||||
if quantity.is_a("IfcPhysicalSimpleQuantity"):
|
||||
measure_class = (
|
||||
quantity.declaration()
|
||||
quantity.declaration
|
||||
.as_entity()
|
||||
.attribute_by_index(3)
|
||||
.type_of_attribute()
|
||||
|
||||
Reference in New Issue
Block a user