Creating Entity Colour Schemes
Although Entity Types are assigned colours during the model building phase of a LEGION project, you can create additional Colour Schemes, which you can apply to Entities when playing back a simulation or recording an ‘avi’ file. You can create these by applying advanced filters to Entity attributes in order to highlight Entities pursuing certain objectives or experiencing certain conditions.
Creating a bespoke Colour Scheme
This section describes how to create your own Colour Scheme and then how to apply filters to each colour. The task is broken down into two procedures; the first describes how to create colours, the second how to make them meaningful by applying filters.
To create the colours for a new Colour Scheme:
- Select .
- Click on the Colours tab.
-
For each colour you wish to add to the scheme, click the
Add button once.
New colours with default names are added, under the headings Name and Colour.
- To change the default name of a colour, double-click to select it and type a new name in its place and press Enter. Repeat this step for as many names as you want to change.
- To change the default colour, double-click on the colour to display a drop-down palette of optional colours.
- Select a colour from the palette and then click outside of the coloured box to apply the new colour. Repeat this step for as many colours as you want to define.
-
If you want to add extra colours, remove colours or move them
up or down in the list, highlight the relevant colour or colours and click the
Add,
Remove,
Up, or
Down buttons.
See the next procedure.
To apply filters to colours:
- Click on the Filters tab.
-
In the
Available Entity colours box, highlight one
of the colours you just added. Notice the four control boxes (plus Add button)
beneath the Available Entity colours.
These enable you to define a bespoke filtering criterion to apply to a highlighted colour.
-
Set up a filter by either typing the conditions directly into
the space below the control boxes or by selecting options from their drop-down
menus. Reading left to right:
- Leave blank or select Not.
- Select an activity, metric or information type from the second menu (for example, Activity, Density, Entity ID, etc.).
- Select equals (=), less than (<) or greater than (>).
- Depending on your selections so far, select an item from this menu or enter a specific value if required (for example, a density level).
-
Click
Add to verify the logic of your selections
and to add them to the list of filters for that colour.
If your criterion contains a logical error, a message is displayed beneath the list in red, for example. You must correct any errors for your criterion to be saved.
- Repeat step 3 to add more criteria to either the same colour or a new colour from your range.
-
Click
Apply to save your changes and
OK to exit.
Colour Schemes are listed on the 'Data' tab of the Model Builder's Object Directory.