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
14 REPLIES 14

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

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

AC27 INT | WIN10

it is not necessary the sign "-" is automatic

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

Try to import this property

 

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

This is it. Thank you all.

AC27 INT | WIN10