entity_instance: switch to use of declaration as a property

Fixes most of the bonsai tests.
This commit is contained in:
Andrej730
2026-07-22 18:46:43 +05:00
parent c2badadfc4
commit 3536bcf46d
8 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ def main() -> int:
model = ifx.file.with_path(sys.argv[1])
for wall in model.instances_by_type("IfcWall"):
print(f"#{wall.id()} {wall.declaration().name()}")
print(f"#{wall.id()} {wall.declaration.name()}")
return 0