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

Python Feasibility to automate shadow studies?

Aaron Bourgoin
Virtuoso
I'm not asking anyone to help me script this, but as a total noob to Python, I'd like to know if it could be used to do the following:

Shadow Study Automation. 3D presets are a chore and Publisher doesn't support the creation of 2D Lines files which is what we use. Any project in the office has to prepare between 20 and 40 rendered shadow diagrams which consist of three 2D lines files (one common to them all and then one for shadows cast by the surrounding buildings and one for the shadow our proposed building casts on nearby parks and greenspace and other buildings). The resulting files are composited on sheets in the Layout Book and routinely updated.

Can Python be used to automate all or a significant amount of this work?
Think Like a Spec Writer
AC4.55 through 27 / USA AC27-6000 USA
Rhino 8 Mac
MacOS 14.6.1
2 REPLIES 2
Laszlo Nagy
Community Admin
Community Admin
I don't know Python well enough to answer this, but Using the Archicad-Grasshopper Connection to generate those shadow polygons may also be a possibility to consider.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
runxel
Legend
Sadly I don't think that Python is helpful for this at all at the moment.
Simply because you can't generate or modify any geometry with it rn.

As Laszlo suggested the Grasshopper connection would be ideal for this.
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!