2024-05-29 11:06 AM - last edited on 2024-05-29 11:11 AM by Noemi Balogh
Hi!
I am using the Python API ACConnection to access and extract the properties of elements in my .pln file. I use the built-in property guide
My question is if that is the entire list of all the properties that can be extracted for all elements via Python? I could not find e.g. net/gross areas and thought it was overall a bit unclear sometimes what different properties mean for different elements. Do you have some advice on interpretation, or good resources for the Python API and extracting all properties from elements in a file? Would be much appreciated!
Best regards,
Axel
Operating system used: Windows
Solved! Go to Solution.
2024-05-30 02:29 AM
No, use the GetAllPropertyNames() method from the Commands class to generate a list of all the property names. You'll have to extract the names with list comprehension or something if you want to isolate them, but you get the idea.
Python API Wrapper
https://archicadapi.graphisoft.com/archicadPythonPackage/archicad.releases.ac27.html
2024-05-30 02:29 AM
No, use the GetAllPropertyNames() method from the Commands class to generate a list of all the property names. You'll have to extract the names with list comprehension or something if you want to isolate them, but you get the idea.
Python API Wrapper
https://archicadapi.graphisoft.com/archicadPythonPackage/archicad.releases.ac27.html
2024-05-30 10:47 AM
Ah excellent, thank you!