2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2021-09-06
05:34 AM
- last edited on
2021-09-14
08:30 AM
by
Noemi Balogh
I wondering what the status of the Python API is in Archicad. I know that another update has been promised but When??
in the mean time -- to demonstrate possible automation techniques, I made up a little Construction Sequence video using Python and the API. The files are posted on a GitHub repository listed in the Video description
This one is just for fun!!
Anybody have a update on Python Development? Still seems very limited? This is one area where we need user input. Originally, there was a Beta site and a lot of problems were worked out there, but that seemed to die out --- Perhaps Graphisoft isn't interested in our opinions or expertise anymore in this area?
Solved! Go to Solution.
2021-09-06 09:22 AM
Hi Poco,
Python API is continuously improving. You're right the improvements are not coming as fast as we wish, but please be patient.
In Archicad 25 the attribute commands are new (GetAttributesByType and the type specific commands), and many properties became available via JSON/Python also. For example the dynamic enum typed built-in properties (like Structural Function, Position and Renovation Status) were not available in AC24, but from AC25 you can get and set them. Oh and do not forget that you can register JSON commands from an Add-On and those will be available from Python too.
2021-09-06 09:22 AM
Hi Poco,
Python API is continuously improving. You're right the improvements are not coming as fast as we wish, but please be patient.
In Archicad 25 the attribute commands are new (GetAttributesByType and the type specific commands), and many properties became available via JSON/Python also. For example the dynamic enum typed built-in properties (like Structural Function, Position and Renovation Status) were not available in AC24, but from AC25 you can get and set them. Oh and do not forget that you can register JSON commands from an Add-On and those will be available from Python too.
2021-09-07 12:42 PM - edited 2021-09-07 12:44 PM
@Tibor Lorantfy wrote:[...] Oh and do not forget that you can register JSON commands from an Add-On and those will be available from Python too.
could you please elaborate this a little bit? I assume the JSON commands must be deliberately implemented in any Add-On, so its not aplicable to existing Add-Ons, right?
thanks