SOLVED!
Python API - Layers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-07-27
08:26 AM
- last edited on
‎2021-09-15
10:31 AM
by
Noemi Balogh
‎2020-07-27
08:26 AM
Hi,
Is there any way to access the layers in Archicad using the Python API?
Is there any way to access the layers in Archicad using the Python API?
Solved! Go to Solution.
Labels:
- Labels:
-
Automation (Python or JSON)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-12 10:56 AM
‎2021-04-12
10:56 AM
dushyant wrote:Ad.1 It is possible through Built-in Property of elements: Model_View_LayerName
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. 2 not possible
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-07-27 09:31 AM
‎2020-07-27
09:31 AM
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?
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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-07-27 11:50 AM
‎2020-07-27
11:50 AM
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)
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-12 10:56 AM
‎2021-04-12
10:56 AM
dushyant wrote:Ad.1 It is possible through Built-in Property of elements: Model_View_LayerName
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. 2 not possible

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-04-12 09:52 PM
‎2021-04-12
09:52 PM
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 11 - Visual Studio 2022; ArchiCAD 27
Windows 11 - Visual Studio 2022; ArchiCAD 27