This repository contains Jupyter notebooks demonstrating how to interact with Archicad using its Python API. The notebooks provide a step-by-step guide to setting up the environment, establishing a connection, and performing various operations within Archicad.
- Introduction: Provides an overview of the Archicad Python API with useful documentation links.
- Setup: Guides users on obtaining the necessary project files and preparing the scripting environment.
- Basic Scripting: Demonstrates how to:
- Connect to Archicad using the
ACConnectionmodule. - Establish communication with an open project.
- Perform simple commands, such as checking if the connection is active.
- Connect to Archicad using the
- Advanced API Operations: Explores more complex Archicad Python API functionalities.
- Navigator Item Operations:
- Retrieves and manipulates Navigator Trees like Project Map, View Map, and Layout Book.
- Executes API commands to interact with Archicad’s internal structure.
- Archicad installed and running.
- Python environment with
archicadpackage installed. - Jupyter Notebook (recommended) or any preferred IDE.
- Open Archicad and load the required
.plnproject. - Run the Jupyter Notebook to establish a connection.
- Execute the provided scripts to interact with Archicad.