Switching Between Target and Filtering
Some Spatial Objects can operate as Target objects that accept links, or as Filtering objects that selectively affect passing Entities. These objects are:
Their Target or Filtering state is set when they are built, but sometimes they are wrongly set, or their purpose changes as a model develops. Also, models that use Final Destinations are generally easier to build and more flexible than models in which everything is linked. So, the ability to switch these objects’ Target or Filtering states makes it simpler to adapt models, in such cases.
Switching a Target object to a Filtering object affects:
- Anything linked to it, as those links will be deleted.
- Anything filtering for it by target, as the object will be removed from the filter.
Details of these effects are given in the switching process, and changes caused by Target and Filtering state switches are added to the Undo list, so can be reversed.
To Switch a Target Object to its Filtering State:
- Right-click on the object in the Workspace or Object Directory.
- If switching will affect
other objects, a dialog box lists them:
- The Selected object, current state (Target or Filtering) and new state (Filtering or Target) are shown.
- The Links from list shows objects that currently link to the selected object, as their links will be deleted from the model.
- The Target filters in list shows all objects referring to the selected object in a Target filter, as it will be removed from those filters.
- Cancelling at this stage will abort the switch, leaving the model unchanged.
- e. If no objects are affected, the dialog is not shown.
- Percentage links from
affected linking objects may affect less than 100% of their departing demand,
in which case a notification dialog is shown, with options for corrective
action:
- Links may be left as they are, leaving unassigned Entities to revert to Final Destinations (or if undefined, removed from simulation) and warnings on QA, or
- The remaining percentage can be distributed proportionally across remaining links, so they total 100%.
- The dialog appears for affected objects whose percentage links are less than 100%. Tick Apply to all to use the same option for all affected objects.
- The selected object is switched to Filtering state, and any affected objects are modified.
To Switch a Filtering Object to Target State
To Switch Multiple Objects Between Target or Filtering State
- Select the desired objects in the Object Directory. (This cannot be done in the Workspace.)
- Right-click on one of the selected objects.
- Choose the Switch Target/Filtering State option:
- If switching a selected object affects any other objects, the confirmation dialog is shown.
- As before, if switching from Target to Filtering, percentage links of linking objects may apply to less than 100% of their departing demand. If so, the corrective actions dialog is shown.