BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

Get value from label

IliasBadrik
Newcomer

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? 

Screenshot_1.png

 

1 REPLY 1
JT1986
Booster

Hi,

 

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. 

 

-JT

Learn and get certified!