cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
qingdom
Enthusiast

Cannot add measurement unit to length property

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
14 Replies 14
David Lukacs
Booster

If you start mess with IF, maybe you want to add a "-" sign as well. 

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" ) )
qingdom
Enthusiast

Yes it is string, I tried in length and still the same error result. What should i choose?

AC27 INT | WIN10
Yves
Expert

it is not necessary the sign "-" is automatic

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

Try to import this property

 

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

This is it. Thank you all.

AC27 INT | WIN10

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!