2026-06-01 05:58 PM - last edited on 2026-06-01 06:19 PM by runxel
Hi all,
I'm tring to do my first Python programm running in Archicad.
Everything stops at the beginning with this command:
it aswer "AttributeError: 'Commands' object has no attribute 'GetBuildingMaterials'"
I need it to retrive the material index with the floowing commands:
Thank you in advance
2026-06-01 06:28 PM
Hi Davide, welcome to the forum!
There is no command "GetBuildingMaterials", only "GetBuildingMaterialAttributes". Maybe that solves this already.
Let me also recommend you Tapir; which is not a replacement but enhances the capabilities of the Python connection drastically.