When a diagram is created Crash Magic will iterate through all of the collisions provided by the study. Each collision record is compared with the list of graphic objects in the object map. Each graphic contains a condition that determines if a graphic should be displayed. Each crash record is compared against the graphic object conditions to determine if they should be displayed.
Changing an object map is an advanced subject, and should not be done without understanding all of the implications. This article is only for the purpose viewing collision placement logic.
The following are steps to view the object map:
- Log into Crash Magic as a group admin
- Click on the + sign next to the .shared in the admin tree on the left under the user group that you have logged into
- Click on the + sign next to the object map
- Click on the Default under object map
- Click on the green settings tab
The settings tab will contain a list of graphics to be displayed in the list box on the left. By selecting an item in the list, the expression box will show the rule for display of the graphic. The Symbol box will show the symbol selected.
The Expression box contains a condition under which the selected graphic is rendered. The Expression must resolve to true or false. If the expression resolves to true the graphic is displayed. If the expression resolves to false the graphic will not be displayed. Expressions use the crash record fields from the collision database, and calculated fields that are derived from the collision database.
The Symbol box shows the symbol to be displayed and can also contain an expression. The expression can determine the exact symbol to show based on other conditions. For example the symbol box could contain an expression to show a bike if a bike resolved to true or an auto if resolved to false.