The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, rmasaki, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy

#302830
I installed the latest Python version - AC23_3000. I noticed that there are a few more functions available that are not listed in the supplied documentation. (Used -- GS Listing.py)

Is there a updated documentation file available or am I not using the latest version?
#303275
Why are comments closed in the blog?
And understand, it is better to write the questions here?
I was wondering why they decided to leave behind the scenes the definition of functions from the documentation? I would be very interested to try to define them myself.
#303364
I parsed almost all the examples and more or less well understood the work of the API.
The GetElement() function works very strangely. And it is not even in the documentation.
Due to limitations and lack of features, it is very difficult to come up with a more or less working implementation. But something that works as in the examples like as working with a book of layouts can be put to work.
Will there be any news? I had to start diving into the original C++API.
#303386
This Python development is in its experimental stage so we will see if and when a permanent implementation will come. I think odds are it will because at the Key Client Conference this summer, GRAPHISOFT talked about their plans to expand the API with Python and JSON. But we will have to wait and see how it pans out.
#303458
LaszloNagy wrote:
Mon Nov 04, 2019 10:34 am
This Python development is in its experimental stage so we will see if and when a permanent implementation will come. I think odds are it will because at the Key Client Conference this summer, GRAPHISOFT talked about their plans to expand the API with Python and JSON. But we will have to wait and see how it pans out.
I need help


You can tell how to control the drawing bounds using the PlaceViewsToLayoutsFromExcel script. Maximum what I was able achieve can be watch in attached file and on video as this works. I don't know how to control the drawing bounds.
I tried to influence API_Box. Can there be that solution in API_Polygon?
Attachments
(2.19 KiB) Downloaded 2 times
#304115
mr.Mikhail wrote:
Sat Nov 23, 2019 3:14 pm
Extension doesn't work with python 3.8.
Please check anyone this statement. I have only works with version 3.7.х - 64х

And repeat: Why is not available in the blog comments of the developers?
http://archicadapi.graphisoft.com/blog

You keep writing as if this is a release version piece of software. It is what it is, and is only a toy at this point to play with. As stated on the "Experimental Python Add-On for ARCHICAD 23" page:
"This is strictly an experimental (prototype, "Lab") version.... Enter at your own risk"
When you download and look at the first page (index) of the documentation, you will read:
Python API is an Add-On, which can be run inside ARCHICAD. It implements a python wrapper for the existing C/C++ API. Please note the current state is experimental,
...
Python 3.7 must be installed to your machine.

This is very clear: you must use Python 3.7 is you want to play.

If the developers have anything to say, they will say it here or in the documentation/developer site. Again, this is an experiment, not a supported product.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7