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.
- Host: GitHub
- URL: https://github.com/runxel/archicad-python
- Owner: runxel
- License: other
- Created: 2020-08-01T16:29:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-21T19:40:42.000Z (8 months ago)
- Last Synced: 2025-07-03T07:11:19.943Z (6 months ago)
- Topics: archicad, archicad-python, python
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
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/).