mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Fix failing test due to declaration() instead of declaration
This commit is contained in:
@@ -2179,7 +2179,7 @@ class Geometry(bonsai.core.tool.Geometry):
|
|||||||
item = tool.Ifc.get().by_id(props.ifc_definition_id)
|
item = tool.Ifc.get().by_id(props.ifc_definition_id)
|
||||||
allowed_attributes = [
|
allowed_attributes = [
|
||||||
a.name()
|
a.name()
|
||||||
for a in item.declaration().as_entity.all_attributes()
|
for a in item.declaration.as_entity().all_attributes()
|
||||||
if a.type_of_attribute()._is("IfcLengthMeasure")
|
if a.type_of_attribute()._is("IfcLengthMeasure")
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user