Choose your top Archicad wishes!

Read more
Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Name and ID for Surfaces

Anonymous
Not applicable
Does anyone have a good workflow on how to label Surfaces on views?

I have my Surfaces named after the type of brick, type of wood cladding or color of the plaster. That is, in full name, which works fine for me while I am designing, but when I label my facades using the Label tool, I do not want to show the full names of the surfaces. All I want to show then, is the "more traditional" label which consists of just a few letters/numbers.

So for example instead of "Plaster NCS 2005-Y20R", I would like to get something like "PL-01".
I know I can go through my Surfaces and rename them in such manner, but ideally, I would like to keep both the "id" and the "full name". Does anyone have a good way how to do something similar? I'm sure other people out there have come up with smart and dumbproof ways how to do something like that.

Ideally, I would like to have some sort of a Surface ID and a Surface Name, which could be displayed separately or together. But I guess that would be something for the "Wish" section.
5 REPLIES 5
Lingwisyer
Guru
I created a poll a while back regarding name trimming in relation to Composites which can be found here. Pretty sure there was another wish regarding the same thing in relation to Surfaces.

Not sure of what people's workaround consist of... I have not really needed to worry about it so far.



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Anonymous
Not applicable
Anonymous
Not applicable
So far, I've come up with a custom Property with an expression and a string splitting rule for the Outside Face Surface.

Ling, I think something similar will work also for your issue with Composites.

But I still think some sort of Surface/Composite "ID" would be better than these workarounds.
It's getting a little crowded among all my expression-based custom properties.
SPLITLEFT ( {Property:Wall/Outside Face Surface}; " "; 1 )

I've been trying to do the same with expressions using the splitting rule for surface names, examples below...

 

Surface Name Example - WB | Weatherboard

Expression Example - SPLITLEFT ( "{Property:Wall/Inside Face Surface}" , "|" , 1 )

 

However the expression editor won't recognise this & comes up with the following message "expression contains text that cannot be identified as a string literal". Have attached a screenshot of the error & setup.

DaviddeRoquefeuil_0-1682642092123.png

Any ideas what I'm doing wrong?

It works for me if I remove the " _ " quote marks before and after the defined parameter.

 

JeffH_0-1706561343434.png

 

AC24 / AC26
Win10