We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
Thursday
Hi all,
Question for the community regarding expressions in the property manager.
(1) I'm trying to define two criteria (using IFS and AND) to create an output for our finish schedule. If an element is classified in a certain branch AND it's a certain element type, it should output another property we created "FFE FINISH | SURFACE - SLAB [TOP]", see attached for the two methods I've tried and still not successful.
Variations I've also tried:
- Changing "7" to "Slab" - I saw on GDL that the slab element type is given the index 7. I tried inputting without quotation marks, and archicad says that is the wrong data type for the argument, it must be a string.
- I've tried outputting a built-in slab property rather than our custom property - still doesn't work.
Friday
Hi @LibbyH
I think it is not possible to change one Element Type to be another one because that is the Archicad tool with which it was originally made.
Maybe you could try to change its Classification instead and use that criteria for your schedules.
Regards.
yesterday - last edited yesterday
You should just use "Slab" instead of "7" in the expression. GDL constants don't apply here.
For me the following expression works fine:
In the expression "Finish" is a custom property that's available for elements classified as "Slab".
The result for an element, which is modeled using the slab tool and is classified as "Slab", is the value of the property "Finish". If the evaluated element is not slab or is not classified as "Slab", the result is either undefined or "---" (the expression cannot be evaluated since the referred Finish property is not available).
Make sure that both properties are available for the classification to which the elements are assigned.
If this wasn't helpful, please elaborate, how it doesn't work? What does the expression return and how it's different from what you want it to be?