EntitiesByCondition()

Returns all entities for which the specified boolean condition is evaluated as True (for example, a static signal value comparison).

Syntax

EntitiesByCondition(expression)
  • expression: one or more boolean expressions

EntitiesByCondition() can combine multiple boolean expressions with and/or constructs (see examples). Mathematical operators that are allowed include

  • = (equals)
  • <= (less than or equal to)
  • >= (greater than or equal to)
  • <> (not equal to)

Examples

EntitiesByCondition("porosity" in "%" = 42.67)

EntitiesByCondition("porosity" in "%" >= 1.2 And "permeability" in "m2" <= 21.7)

EntitiesByCondition("porosity" in "%" >= 1.2 Or "permeability" in "m2" <= 21.7)

EntitiesByCondition(
"porosity" in "%" >= 1.2 And
("permeability" in "m2" = 21.7 Or "permeability" in "m2" = 42.1)
)

EntitiesByCondition("porosity" in "%" <> 17.3)

EntitiesByCondition(IsNotNull("porosity" in "%"))

EntitiesByCondition(IsNull("permeability" in "m2"))