Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Documentation
About Archicad's documenting tools, views, model filtering, layouts, publishing, etc.
SOLVED!

Is the second ADD possible in Expression of Property Manager?

LeeJaeYoung
Virtuoso

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 ACCEPTED SOLUTION

Accepted Solutions
Solution
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

View solution in original 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

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
Solution
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

thank you so much. ^^


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

AC27 on window 11