Got a minute? We appreciate your feedback:

Graphisoft Learn survey
Archicad Python API
About automating tasks in Archicad using the Python API.

Python API - Layers

dushyant
Enthusiast
Hi,
Is there any way to access the layers in Archicad using the Python API?
1 ACCEPTED SOLUTION
4 REPLIES 4

Tibor Lorantfy
Graphisoft Alumni
Graphisoft Alumni
Hi,

Currently (AC24.3010) it's not available via Python API.
Retrieving information about layers and layer combinations is on our backlog, we started to work on it.

Can you specify please what do you want to achieve with layers in your python script?
Which information of layers do you interest most?
Do you want to modify them?

dushyant
Enthusiast
Hi Tibor,

As of now, I need to:
1. Check the layer of the elements (and filter out elements of a specific layer)
2. Change the layer of the elements (based on their classification)

Solution
greg_lupo
Booster
dushyant wrote:
Hi Tibor,

As of now, I need to:
1. Check the layer of the elements (and filter out elements of a specific layer)
2. Change the layer of the elements (based on their classification)
Ad.1 It is possible through Built-in Property of elements: Model_View_LayerName
Ad. 2 not possible

poco2013
Mentor
Without the ability to modify or create entities within Archicad in Python, the Python API offers no advantages over the C++ Add-Ons. This is directly contrary to the wildly successful ver 23 experimental API which was enthusiastically received. If Graphisoft has decided to divert from what was promised in the 23 version, they should do us the courtesy of so advising us of their future plans for the Python API?
Gerry

Windows 10 - Visual Studio 2019; ArchiCAD 26

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!