Share

About Evaluating Properties

Use the Expression Editor to build expressions that evaluate properties. Enter property names directly into an expression, or select them from the Expression Elements Menu.

The syntax for an expression that evaluates a property is slightly different, depending on whether you use an operator or a function.

  • For an operator, the basic syntax is PROPERTY Operator Value.

  • For functions, the basic syntax is Function (PROPERTY).

    Note: See To evaluate properties for more information.

If you enter a property name that is not in the Property list, validation may issue a warning. However, if that property exists in your data store, the expression may still be valid when it is run. You can also view valid property values using the Values Pane. See About the Expression Editor for more information.

Additional tips

Concatenate (combine) properties in the original data store to map to properties in the model.

  • For example, the model has a property called ROOF_HEIGHT, but the original data source for your buildings only contains values for the FLOOR_HEIGHT and FLOORS properties. To concatenate the FLOOR_HEIGHT and FLOORS properties into a single ROOF_HEIGHT property:

    1. Open the Data Sources panel and double click the desired Buildings data to configure it.
    2. Click the Common or Table tab, then click expression editor icon in the Roof Height field to open the Expression Editor.
    3. Create the following expression for the ROOF_HEIGHT property: FLOOR_HEIGHT * FLOORS and click OK.

Was this information helpful?