| Using the Symbol Editor > Getting Started with the Symbol Editor > Transforming Symbols using Conditions |
Transforming Symbols using Conditions |
INDEX
PREVIOUS
NEXT
|
In the Transforming Symbols using Parameters section you were shown how to add intelligence to symbols with parameters that represent changes in a real world situation.
A condition triggers an event in a symbol whenever specific criteria are matched. The event provokes the symbol to change its representation to display the parameter change visually. For example, when the object is selected, or when a parameter has a specific value. As with parameters, a condition can be bound to multiple objects in a symbol.
You will use conditions to show a state in the basicprogressbar symbol using a transformation. If progress is below a certain percentage, the progress bar will be displayed in red. To do this:
progress is less than or equal to problem.
| Note |
| A name for the condition is generated automatically. You can change this to a personalized name by deselecting Generated Name and typing a new name in the Condition Name field. |
The basicprogressbar symbol now changes color to show changes in progress. Test your symbol using the procedure explained in Testing your Symbol to see the transformations.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |