When a schematic diagram is loading into memory, Schematics operates the following tasks:
- The geometry of the schematic features contained in the diagrams is computed—that is, containers are automatically resized around their related schematic features, the geometry of the schematic feature links configured to be attached at specific ports is automatically adjusted so the links connect to the expected ports, and so on.
- The schematic attributes that may have been configured with the On Start Editing or On Redraw/Refresh evaluation mode are reevaluated.
- The schematic feature class' custom queries that are used to implement schematic features contained in the diagram and that may have been configured with the Query on Start Editing evaluation mode are reexecuted, and the diagram content is updated according to those new query results.
Any schematic diagram is automatically loaded into memory when the following occur:
- Each time an edit session starts on it
- When it displays while it is configured to be automatically loaded in memory at its opening
This topic explains how to configure schematic diagrams to be automatically loaded into memory at their opening. Configuring such a loading mode may be interesting in many user cases:
- Inside plants entirely built by custom queries whose content needs to be always up-to-date regarding the database
- Diagrams containing schematic links that connect some nodes to specific ports provided by a particular field in the geodatabase and that need to show the exact connections at their opening
- Mixed diagrams containing schematic nodes representing airports and schematic links representing the daily flights between those airports so those links are automatically up-to-date when the diagrams open
To configure schematic diagrams to be automatically loaded into memory at their opening, you must operate using the Schematic Dataset Editor from the Properties tab related to the diagram template as described in the following steps:
- Edit your schematic dataset within Schematic Dataset Editor.
- If the schematic dataset resources are not arranged in a tree view in the Schematic Items window, click Views in the Schematic Dataset Editor toolbar and click Project Tree.
- In the Schematic Dataset Editor tree, click the entry related to the schematic diagram template that implements the diagrams you want automatically loaded into memory when they open.
- On the Properties tab, check the Immediately load diagram into memory check box.
- Click Save on the Dataset Editor toolbar.
From now, each time a diagram implemented by this diagram template opens, the geometry of all its schematic features will be automatically recalculated at the diagram opening, and any schematic attribute and custom query specified on the schematic feature classes associated with that diagram template and configured to be reevaluated at the diagram loading will be also automatically evaluated at the diagram opening.
To lay out or refine any schematic diagram content, the diagram must be loaded in memory, but even if it is loaded in memory at its opening, you still have to start an edit session on it. The Schematics tools and commands on the Schematic Editor toolbar are only enabled when an edit session is started on the diagram, not at its loading in memory.
Moreover, the changes on the schematic features geometry, the updated schematic attribute values, or the new custom query results like they are shown at the diagram opening are considered as memory edits. If you want those edits to be stored in the schematic feature class tables in the schematic dataset, you must start an edit session on the diagram and save the edits.