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

How to rename an attribute (for schedule) in an other language than english ?

KevinJ
Booster

Hello dear colleague from around the world.
I'working in Latvija and all the documentation must be in Latvian. 
Working on large scale project I'm using schedule and all possible attribute or property and now about door.
One of door property is "orientation" than give answer R for right and L for Left. I would to see in my door schedule L for Right and K for Left.

One possible solution is to create another attribute in "Property management" so I created "Orientation2" with an expression that say
If orientation is right then display "L" ifnot display "K"

witch give :
IF (Orientation=R; "L"; "K")
but expression is wrong but why?

 

KevinJ_0-1746955229001.png


I guess there might be another way, something like "property mapping"  but didn't found much about that.

Any idea, correction or way around ?
Paldies/Thanks

 

Operating system used: Windows

2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution

Thanks BerndSchwarzenbacher but it didn't work.

 

Also found the mistake, IF ( Orientation = "R", "L", "K" ) does work. And it look like comma work (preset of IF function come up with comma)

 

7Bjv7-jM.png


But it's not returning K or L but ---
Both in evaluate and also in schedule
Other idea ? 

View solution in original post

Solution

It works ! It wasn't the good property. There are indeed 3 differents orientations properties ! The one for door work ! 

View solution in original post

5 REPLIES 5
runxel
Hero

Have you tried IF (Orientation="R"; "L"; "K") ?

Difference are the quotes around the R. If "Orientation" is a string than you can only compare it with other strings.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text

My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

Thanks for answering.
It still show error, I m also thinking there is something about string, value wrong synthax ... 
Now it show error is before comma. 

KevinJ_0-1747034308118.png

I did copy and rewrite the expression, move the space but it's not working.

Now you have a comma "," instead of a semicolon ";" after "R".

Solution

Thanks BerndSchwarzenbacher but it didn't work.

 

Also found the mistake, IF ( Orientation = "R", "L", "K" ) does work. And it look like comma work (preset of IF function come up with comma)

 

7Bjv7-jM.png


But it's not returning K or L but ---
Both in evaluate and also in schedule
Other idea ? 

Solution

It works ! It wasn't the good property. There are indeed 3 differents orientations properties ! The one for door work ! 

Setup info provided by author