Dynamic ID Coding of Building Elements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-27
10:48 PM
- last edited on
2023-05-23
04:32 PM
by
Rubia Torres
Hi,
Is there a way to define the ID of 3D elements (walls, slabs etc.) with some of its own properties .
eg. Wall = [Composite Name] + [Fire Rating] + [STC].
All of these have been defined, so would like a way to automate this rather than selecting all walls and changing manually.
Have tried the Element ID Manager but seems to only work to increment walls individually/or part of group and doesn't seem able to dynamically create IDs.
Thanks
Solved! Go to Solution.
- Labels:
-
Automation (Python or JSON)
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-29 01:48 AM
I make a short Demo video to show a Python script to accomplish this.
Convert Element ID to new title based on three properties of the element
Attach is the script. Leave a comment if you have further questions.
Windows 11 - Visual Studio 2022; ArchiCAD 27

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-27 11:24 PM
AFAIK - This is not possible with the "built in"tools in Archicad. You could create a new property using a expression which would create the new Id, but you could not overwrite the "element ID" property which I believe is your intent.
There are a few alternatives.
You could export a schedule to excel. Create a macro there to overwrite the Element ID field then re import into Archicad.
You could create a C++ AddOn to directly overwrite the "element ID"
Or the easiest, most straight forward way would be to create and use a Python script. The script would involve only a few lines of code and would offer the most control over the logic, filtering and formatting.
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-28 02:18 AM
I would like to know how this python script would be written. I am also interested in writing specific information to the elementID field.
Sebastian Monroe
Director/Architect
T: +61 3 9017 6666
www.codearchitecture.com.au
NOM ARCH VIC ARB: 17939
Archicad v26, Mac Mini INTEL 64GB, AMD Radeon Pro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-28 05:00 AM - edited 2022-03-28 05:00 AM
Does the element id manager not do what you are after?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-03-29 01:48 AM
I make a short Demo video to show a Python script to accomplish this.
Convert Element ID to new title based on three properties of the element
Attach is the script. Leave a comment if you have further questions.
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-12-08 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-12-11 03:01 AM
The video is set to private, I'd love to see it.
Shoegnome Architects
Archicad Blog: www.shoegnome.com
Archicad Template: www.shoegnome.com/template/
Archicad Work Environment: www.shoegnome.com/work-environment/
Archicad Tutorial Videos: www.youtube.com/shoegnome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-12-11 03:27 AM
Try it now?
Windows 11 - Visual Studio 2022; ArchiCAD 27
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2022-12-11 03:35 AM
Thanks. It works now.
Shoegnome Architects
Archicad Blog: www.shoegnome.com
Archicad Template: www.shoegnome.com/template/
Archicad Work Environment: www.shoegnome.com/work-environment/
Archicad Tutorial Videos: www.youtube.com/shoegnome