Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

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

Script for numbering of bulding components


Im having issues on how to begin my script. I need a script that numbers differen building componets based on a few parameters.


its easily done in excel with type and copy down.

example: there is this thing called a TFM code that is a part of the Norwegian bulding industry loves but its a pain to do manually. based on the example below is there any way to automate the increasing number based on types of lets say windows? i can come with more details if needed. im completely stuck with this prosject. 

400x400 | ++AAAA=NNNN-TTTT%001-001

400x400 | ++AAAA=NNNN-TTTT%001-002

400x400 | ++AAAA=NNNN-TTTT%001-003

450x500 | ++AAAA=NNNN-TTTT%002-001

450x500 | ++AAAA=NNNN-TTTT%002-002

450x500 | ++AAAA=NNNN-TTTT%002-003



Definitely need more info about what you what to label and the label scheme. Do you want to create/use a custom property? or overwrite the Element ID tag or something else? What elements do you want to tag? Not all elements are available to a Python script.


Windows 11 - Visual Studio 2022; ArchiCAD 27

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!