Archicad Python API
About automating tasks in Archicad using the Python API.

Python Available Element Types

poco2013
Mentor
Does anyone know if the Fill Elements are available to be retrieved in Python and what their name might be?

I tried PolyLine and Hatch and neither works.

I would like to address the areas of Fills in order to do a site area analysis in Python. I know you can use Zones but would like to use Fills as they are more straight forward.
Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
2 REPLIES 2
Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
Hi Gerry,

You can find all the available element type strings in the documentation.
Please visit this page of the documentation and click on ElementType to see the available values of that enumeration: As you can see Fill is currently not supported by JSON/Python API, sorry for the bad news
Anonymous
Not applicable
How can I getElementByType changemarker in AC24?
Tibor wrote:
Hi Gerry,

You can find all the available element type strings in the documentation.
Please visit this page of the documentation and click on ElementType to see the available values of that enumeration:
ElementType.png
As you can see Fill is currently not supported by JSON/Python API, sorry for the bad news