All expression operators that work on list, primarily to determine if they contain certain items. Refer to section 4.4.6 for examples and more detail.
contains |
The result true if the list contains a partial match to the specified value. For example, a rule to attached to any wall with a material containing the word “brick”: |
|
includes |
The result true if the list contains an exact match to the specified value. For example, a rule to attached to any slab with a material called “Structural concrete”: |
|
has |
The result is true if the value contains a partial match to any item in a specified list. For example, a rule to attach to any element with a material containing either the word “brick” or “concrete”: Note that this can be used on a single value too, for example a test for a room name containing either “office” or “admin”: |
|
in |
The result is true if the value contains an exact match to any item in a specified list. For example, a rule to attach to any wall with a material called “Red brick” or “Structural concrete”: Note that this can be used on a single value too, for example a test for any element type of “door” or “window”: |
Comments
0 comments
Please sign in to leave a comment.