cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Dennis_
Newcomer

Use Python to insert a drawing into a created layout.

Hello everyone!

I have lots of PDFs. I want to insert them into each layout: For example, 1.pdf in Layout 1, 2.pdf in Layout 2, and so on.

Is there a way to do this using Python?

Thank you in advance.

 

 

Operating system used: Windows 11

Setup info provided by author
2 Replies 2
macige
Participant

from my knowledge, but I hope Graphisoft proves me wrong, with the version of Python used by Archicad it is not possible to insert external files on the layouts.

 

runxel
Moderator

This has nothing to do with the Python version. There is just no command currently in the JSON API enabled to place drawings.

The AC connection is not under active development however – check out Tapir for a modern way to interact with Archicad in Python.

Tapir also has no way of placing drawings right now, but this might/will change in the future. And you can help develop it.

Lucas Becker | AC 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | 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!