cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
LeeJaeYoung
Virtuoso

Is the second ADD possible in Expression of Property Manager?

LeeJaeYoung_0-1681566096339.png

IF ( COMPARE ( {Property:PRODUCT INFO/U_DoorType}, "PD" ) = 0, "플라스틱", "" )

IF ( COMPARE ( {Property:PRODUCT INFO/U_DoorType}, "WD" ) = 0, "목재문틀", "" )

this is wrong

 

 

2. What I want to add is to be able to select if not in the if statement. ^^

 

AC27 on window 11
1 Solution

Accepted Solutions
poco2013
Mentor

I assume your intent is that : If the door type is neither "PD" or "WD" then fall through to another message --- Otherwise I don't know. In any event you can use only one statement.

 

IFS ( {Property:Calculation data/Door Type} = "PD", "Is PD", {Property:Calculation data/Door Type} = "WD", "Is WD", TRUE, "Not Either" )

 

 

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27

Go to post

4 Replies 4
poco2013
Mentor

The short answer is NO. Multiple statements can not be used in expressions unless they are used within the sequence block. Your intent is not clear but i believe you might want to use a IFS statement instead.

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
LeeJaeYoung
Virtuoso

Thank you for answer.
I'm always curious about your long answers. ^^


Should I use only one method of ADD?
(If it is possible to use it multiple times, I would appreciate it if you could show me the form.)

 

But why
I used it once, is it alive as I can add add?

AC27 on window 11
poco2013
Mentor

I assume your intent is that : If the door type is neither "PD" or "WD" then fall through to another message --- Otherwise I don't know. In any event you can use only one statement.

 

IFS ( {Property:Calculation data/Door Type} = "PD", "Is PD", {Property:Calculation data/Door Type} = "WD", "Is WD", TRUE, "Not Either" )

 

 

Gerry

Windows 11 - Visual Studio 2022; ArchiCAD 27
LeeJaeYoung
Virtuoso

thank you so much. ^^


With your help, I converted the if statements into ifs.

AC27 on window 11

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!