2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
5 hours ago
Can not see why this expression does not work. The expression is set to Area and it is set to appropriate classification. When i have tried to simply set a simple value like 1m*1m instead of element property it works. But this way it only says can not be evaluated. Why?
expression:
IFS (Element Type = "Wall"; Surface Area of the Wall Outside Face (Conditional); Element Type = "Slab"; Area;Element Type = "Beam"; Left Side Surface; )
Operating system used: Windows 5003
4 hours ago
@pjatelier wrote:
IFS (Element Type = "Wall"; Surface Area of the Wall Outside Face (Conditional); Element Type = "Slab"; Area;Element Type = "Beam"; Left Side Surface; )
The last semicolon might be the culprit. Try this:
IFS (Element Type = "Wall"; Surface Area of the Wall Outside Face (Conditional); Element Type = "Slab"; Area;Element Type = "Beam"; Left Side Surface )
3 hours ago
It is not that, i have translated it and have rewritten it from my language in AC it is correct. Anyway
I have found out that if anyone from three properties can not be solved, hole expression can not be solved. Even if the propriety is under condition that is false.
For example when i choose wall, then the "Left side surface" from beam can not be computed even if it is under false condition. AC is checking it so now i am looking for some way around how to say if you can not compute it than it is for example 0. any suggestions?
19m ago
Maybe because the type of beam's Left Side Surface parameter is a string and the other are areas? Try to convert the other parameters to string type or use Surface Area of the Beam Left Side parameter depending on the type of the property you are trying to create.
If I understood what you're trying to do here, you could also just put the parameters to different sequences. Archicad then tries to evaluate the sequences in order. If the parameter is not available for the element, Archicad moves to the next one. Note that since Area is a general parameter, it's available for most types if not all and the execution stops there. Therefore the Area parameter must be the last on the list.
In the screenshot below I have a wall, a slab and a beam selected.