The Synchronize against original selection/trace/query option is the default option on the Update Diagram dialog box that opens when updating a diagram based on the Standard builder. It allows you to update the active schematic diagram content starting from the persistent trace parameters when the diagram has been generated from a geometric network core tracing result, from the network feature set used to initially generate this diagram, or by reexecuting all the custom queries that were used to initially generate this diagram:
- If diagram generation is based on a selection set following a selection operation on the network features referenced in the map, any geometric network core tracing operation returned as a selection set, or any geometric network non-core trace result, the update operates from the network feature set used to initially generate this diagram.
- If diagram generation is based on a geometric network core trace result that was returned as a drawing in the map, the tracing operation parameters are stored in the schematic dataset. In that case, the tracing operation based on these stored parameters is reexecuted in memory, and the obtained tracing result is used for the diagram update.
- If diagram generation is entirely or partially based on custom queries, all the custom queries that were used to initially generate this diagram are reexecuted, and the obtained query result is used for the diagram update.
In all cases, the update process is performed as follows:
- The schematic features contained in the diagram are loaded in memory.
- The synchronization is done in memory as follows:
- The schematic features initially contained in the diagram that are still associated with network features contained in the geodatabase, part of the new geometric network core tracing result, or associated with records returned by the custom queries are updated in memory; their attributes and initial geometry are refreshed, and their current geometry is reinitialized if the diagram was not saved.
- New schematic features returned by the new geometric network core tracing result or associated with new records returned by the queries are created in memory.
- All schematic features related to network features that have been deleted from the geodatabase or no longer part of the new geometric network core tracing result, or no longer returned by the queries, are removed from the memory.
- If schematic rules have been specified for the related diagram template, they are reexecuted.
- If the Persist manually removed, reduced or reconnected features check box is checked, the removal, reduction, and reconnecting operations are reexecuted.
- If there is a default schematic layout algorithm configured for the diagram template and the diagram has no saved layout, the algorithm is reexecuted, and the geometry for all the in-memory schematic features is updated accordingly.
- All the schematic features in memory are saved in the schematic feature classes in the schematic dataset.
- The active schematic diagram is then refreshed with the new schematic database content.