Problems with the Archicad Utilities Python Module?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-15
12:23 AM
- last edited on
‎2021-09-14
09:53 AM
by
Noemi Balogh
The scripts definitely work, and I have already freshly installed Python (3.8.8.) on this machine but I cannot get it to work now ... any ideas?
Solved! Go to Solution.
- Labels:
-
Automation (Python or JSON)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-16 02:48 PM
As Archicad 25 Beta Program was started, few days ago we updated the archicad python package at PyPI.
Unfortunately the update version 25.326 was incomplete, it had errors with Archicad 24 connection. We've already updated a new version (25.1000) which should work correctly (and we removed version 25.326 from PyPI).
Please update your archicad python package! You can do that from the Python Palette also (open the settings from the top right of the palette).
Note, version 25.1000 archicad python package works not only with Archicad 25, but with previous versions also.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-15 01:43 AM
JSN wrote:Assuming you installed the module archicad -- you probably should post your failing code?
The scripts definitely work, and I have already freshly installed Python (3.8.8.) on this machine but I cannot get it to work now ... any ideas?
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-15 11:21 AM
Edit: It happens within AC Python Compiler but also from e.g. VS Code. In AC thr Pthon info it says there is just one Python Version and that one is updated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-15 04:19 PM
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-15 09:32 PM
So, I simply exchanged the version with issues (25.326) on the new computer with the working one from the old computer manually and now it works!
Actually I have installed this version of the module when launching the Python Palette in Archicad the first time so it is not that I had even the chance to install a wrong version - all was done automatically ... if I would not have known that there is nothing wrong with my script I would never have had the idea of exchanging modules I guess.
So probably there is something not working as it should since the last update or we are dealing with a terrible usability issue. Maybe GS should have a look on that too ...
Anyhow, if someone runs into this, the updae was just published a few days ago, here is the solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-16 02:48 PM
As Archicad 25 Beta Program was started, few days ago we updated the archicad python package at PyPI.
Unfortunately the update version 25.326 was incomplete, it had errors with Archicad 24 connection. We've already updated a new version (25.1000) which should work correctly (and we removed version 25.326 from PyPI).
Please update your archicad python package! You can do that from the Python Palette also (open the settings from the top right of the palette).
Note, version 25.1000 archicad python package works not only with Archicad 25, but with previous versions also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-17 12:26 PM
Btw, could you already give us some information what commands are expected to be added in the near future?
In the JSON Interface documentation I have noticed that the AddOn commands have joined, is this the concept for the future to bridge the automation gap or can we expect that more and more functionalities are getting nativly accessible through JSON and the Python wrapper?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-17 12:54 PM
JSN wrote:I'm playing with the python module with jupyter notebook...
Thx for clarifying this!
Btw, could you already give us some information what commands are expected to be added in the near future?
In the JSON Interface documentation I have noticed that the AddOn commands have joined, is this the concept for the future to bridge the automation gap or can we expect that more and more functionalities are getting nativly accessible through JSON and the Python wrapper?

Thanks in advance!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-17 02:43 PM
JSN wrote:Yes, absolutely. That is our long term plan to make all automation functionalities available via JSON/Python API. So more and more functionalities will come.
In the JSON Interface documentation I have noticed that the AddOn commands have joined, is this the concept for the future to bridge the automation gap or can we expect that more and more functionalities are getting nativly accessible through JSON and the Python wrapper?
The Attribute Commands and the Component Commands are also new from AC25 alongside the AddOn Commands.
Using the Attribute Commands now almost all information of the attributes are available, but currently modifying is not allowed.
If you implement your own JSON Commands in your C++ AddOns, then you can access those via the AddOn Commands. It can be a temporary workaround to access more stuff via JSON/Python, you can extend it's functionality.
JSN wrote:The goal of the Automation API (= JSON/Python API) is to support workflow automation. So the most important automation tasks are at the top of our backlog, just like Open/Save/Publish.
Btw, could you already give us some information what commands are expected to be added in the near future?
I have to highlight that it's still not a goal to provide Archicad-like Dialog Library for JSON/Python API. Still the C++ API (Add-On API) is recommended if somebody want to implement native-like Archicad functionalities, extend Archicad with a menu, dialog etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-03-18 10:22 PM

