An open API service indexing awesome lists of open source software.

https://github.com/runxel/archicad-python

Scripts to use for the Archicad Python (JSON) interface.
https://github.com/runxel/archicad-python

archicad archicad-python python

Last synced: 5 months ago
JSON representation

Scripts to use for the Archicad Python (JSON) interface.

Awesome Lists containing this project

README

          

# Python for Archicad

> Scripts made to utilize the JSON interface brought to Archicad 24 and up.

## Prerequisites
- My recommendation is to use just [`uv`](https://docs.astral.sh/uv/) and nothing else. This way the setup is the easiest.
- Officially any installed [Python](https://www.python.org/) of version 3.7 and above should be fine.
- If not stated otherwise always the [official Python package](https://pypi.org/project/archicad/) is used.
- You can use the Python palette, but you do not have to, if you use a decent editor like [VSCode](https://code.visualstudio.com/), which you will need for proper editing of scripts anyway.

## Set-up
With 'uv' it is really easy to start editing and setting you up:
Just create a new "virtual environment" and then install all dependencies:
```sh
uv venv
uv pip install -r pyproject.toml
```

> [!NOTE]
> Have a look on the [JSON interface](https://archicadapi.graphisoft.com/JSONInterfaceDocumentation/#Introduction) and [Python](https://archicadapi.graphisoft.com/archicadPythonPackage/archicad.html) documentation.

## See also
- [KAA-MB](https://github.com/KAA-MB/archicad-python-scripts-KAA)
- [Lorantfy](https://github.com/tlorantfy/archicad-python-scripts/)

> [!TIP]
> Examples made by Graphisoft can be found [here](https://graphisoft.com/downloads/python#try).

The official [Style Guide](https://pep8.org/) for Python.
[The Hitchhiker's Guide to Python](https://docs.python-guide.org/)
In a hurry? [Learn X in Y minutes](https://learnxinyminutes.com/docs/python/)

## License
If not stated otherwise all source code is distributed under the [BOML](LICENSE.md).
For modified scripts of others the license might be unresolved.

----

Besuche mein [Archicad Wiki](https://runxel.xyz/archicad-wiki/).