Choose your top Archicad wishes!

Read more
Archicad Python API
About automating tasks in Archicad using the Python API.

Get value from label


Hello, i want to automate the steel reinforcement counting process. For example: i have a label with data on the number and length, i need to export this data in Excel. Can this be done with Python and how? 






As far as I know you cannot retrieve text or data straight from the labels with Python because currently Labels are not supported "element types" in Archicad Python connection. 


Are those steel bars modeled or only 2D-lines? If you have modeled the steel bars, then I think that a schedule could be more functional approach, because you can save schedules directly in Excel format from Archicad. The data from modeled steel bars can also be exported directly to an Excel worksheet using Python if you want to write a script which does that. But if the steel bars are just 2D-lines, they do not contain any data that  you could export straight to Excel using a Python script.