License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2021-02-11
08:50 PM
- last edited on
2024-09-26
12:21 PM
by
Doreena Deng
2021-02-12 01:48 AM
2021-02-12 08:33 AM
poco2013 wrote:We've used Tkinter for some tests. We have put lots of effort in the Python development in-house but now we wait for deeper integration with Archicad. Meanwhile I want to be prepared from a user point of view which is the reason I asked for this. I basically want a palette where we can arrange our clever scripts in a regular Archicad environment that everyone recognizes.
The only example of embedding a python script in a C++ API Add-On is in the communication Manager example under Do_ExecutePythonScript. It uses the old 23 version of Python Script which is no longer used in 24. Also the upgrade of 22 & 23 no longer accepts the old version of the Python Add-On PythonSnippets.apx. Soooo no longer works, at least for me.
You can use Tkinter as a external dialog with buttons to execute Python scripts -- works fine but the interface is more crude appearing than native Archicad pallets.
At this point, i doubt if anyone other than Graphisoft knows (and their not talking) if there will be any advances in embedded Python in 25?
2021-02-12 12:26 PM