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

Cannot add measurement unit to length property

qingdom
Enthusiast

Hi,

I have created an expression for the zone stamp to show the elevation, but it misses two things:

1. I try to add a + sign in front of the number to show it is upper than zero (and it is not showing on the stamp)

2. I try to add to show CM at the end of the number but it says syntax error.

How can i show these two on the zone stamp?

Thanks


CM.PNG
AC27 INT | WIN10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Try to import this property

 

Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

View solution in original post

14 REPLIES 14
David Lukacs
Booster

Hi Qingdom,

 

Try like this with string data type: CONCAT ( "+"; STRCALCUNIT ( {Property} ) ;"CM")

 

David

Still not working, it gives syntax error in expression.

AC27 INT | WIN10

Did you change the data type and did you paste the property (bottom elevation to project zero)?

Yes, see picture


String.PNG
AC27 INT | WIN10

You have to remove the brackets { }.

Still no succes 😄


Brackets.PNG
AC27 INT | WIN10
Yves
Advocate

I will do like this

"Sorry in french"

 

IF ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} > 0 cm; CONCAT ( "+"; STRCALCUNIT ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} ); " cm" ); CONCAT ( STRCALCUNIT ( {Property:Paramètres généraux/Altitude inférieure à Zéro du projet} ); " cm" ) )
Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13

Yes, something with IF i think i need. Still it doesn't work...


IF.PNG
AC27 INT | WIN10
Yves
Advocate

You are in String data type !

Yves Houssier
Belgium
Archicad 19 -> 24
iMac - Mac Os 10,13