We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-08-04 02:58 AM
Hi there
I'm a newbie just getting started with Python.
I'm working on labeling each object and numbering them using the Parking Space script. Currently, the script is numbered in a zigzag manner. I would like to change my current script to a numbering way as shown in the following picture.
I want to change the code, but it is not easy to change because the attached document only describes the configuration.
And in the current code, what the cluster, positer, firstpos, and lastpos libraries are are not listed in the API Python Wrapper, so I would appreciate it if you could tell me.
This is the referenced code : https://Graphisoft.com/downloads/python
Parking Space Numbering
2022-08-24 11:23 AM
Hi,
To have the numbering you'd like to achieve you'll have to modify the code which sets `elemPropertyValues`. (line 57-71 in the example script) That part contains the distribution logic, the configuration section serves a different purpose.
Best, Akos