License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

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

Script for numbering of bulding components

_JJ_
Contributor

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

 

1 REPLY 1
poco2013
Mentor

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.

Gerry

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!