2025-05-11
11:20 AM
- last edited on
2025-05-12
08:53 PM
by
Laszlo Nagy
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?
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
Solved! Go to Solution.
2025-05-12
01:30 PM
- last edited on
2025-05-12
09:33 PM
by
Laszlo Nagy
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)
But it's not returning K or L but ---
Both in evaluate and also in schedule
Other idea ?
2025-05-12 01:35 PM - edited 2025-05-12 01:35 PM
It works ! It wasn't the good property. There are indeed 3 differents orientations properties ! The one for door work !
2025-05-11 12:36 PM
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.
2025-05-12 09:19 AM
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.
I did copy and rewrite the expression, move the space but it's not working.
2025-05-12 09:36 AM
Now you have a comma "," instead of a semicolon ";" after "R".
2025-05-12
01:30 PM
- last edited on
2025-05-12
09:33 PM
by
Laszlo Nagy
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)
But it's not returning K or L but ---
Both in evaluate and also in schedule
Other idea ?
2025-05-12 01:35 PM - edited 2025-05-12 01:35 PM
It works ! It wasn't the good property. There are indeed 3 differents orientations properties ! The one for door work !