2 grouped objects and expressions, 3 multiple expressions – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 145

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Grafx Editor 125

in the Expression entry box. Change the attributes of the submodel by entering values in the row of
attribute setting boxes labelled True (see

Section 4.3.1.2, Configuring the Dynamic Attribute Settings

).

It is also possible to configure the static attributes of submodels via the Expression Dynamics window. This
is not recommended, however, as this method is time consuming and inefficient when compared with
object configuration performed directly from the Settings and Properties windows described earlier in this
chapter.

4.3.1.1.2 Grouped Objects and Expressions

A group of objects and/or submodels can be configured so that they are all affected by the same expres-
sion. Items should be grouped prior to selecting the Dynamic Attributes item. (To group objects together,
hold the

S

HIFT

key down and click on all objects to be in the group, then click on the Group button on the

View toolbar.

Once a set of objects has been placed in a group, any operations (e.g., Move, Delete) will be performed on
all objects in the group.

The Ungroup item on the view toolbar will remove all objects from the group. Any dynamics attached to the
group via the Dynamic Attributes entry will be deleted.

4.3.1.1.3 Multiple Expressions

More than one expression can be configured for an object. This is useful if the object's attributes should
change under more than one condition. For example, a filled rectangle can be configured to be:

green when the value of a controller database point is less than 50,

yellow when the value is between 50 and 100 (inclusive), and

red when the value is above 100.

To add another expression, click on the New button in the Expression Dynamics window (located below
the FALSE attribute section). The label above the Expression entry box will change to:

Expression(n of m)

where m is the total number of expressions for this object, and n is the expression currently displayed. Use
the Prev and Next buttons to move between configured expressions).

To delete the expression currently on display, click on the Clear button.

To make permanent any changes to the Expression Dynamics window, click on the OK or Apply button. To
exit without making changes, click on the Cancel button.

To view a list which summarizes all the expressions and associated attribute settings which have been
configured for an object, click on the LIST button. The Expressions window (

Figure 4-12

) will be displayed.

Advertising