Specifying the content of schematic diagrams implemented by a diagram template
Any schematic diagram template is designed to generate a particular type of schematic diagrams containing a set of expected types of schematic features. For example, in the rail transportation world, a schematic diagram template can be defined for a schematic of the national main lines, a second template for the regional lines, and a third template for internal diagrams (inside plants) of the stations.
Specifying the expected type of schematic features contained in diagrams based on a schematic diagram template is specifying the type of objects the schematic builder that implements those diagrams is supposed to work with. Then, from the context set by users when they ask the diagram generation (for example, from a set of features currently highlighted in a map document, from the result of a network analysis currently highlighted in a map document, and so on) , the builder is able to analyze this context and generate the schematic features expected in the diagram.
For all predefined schematic builders provided with Schematics, the schematic features built by the schematic builder during any diagram generation are put in schematic feature classes in the schematic dataset. These schematic features are stored in these schematic feature classes for the life of the diagram. Then, when Schematics displays the generated diagram, it queries the schematic features from these schematic feature classes.
There is an exception to this when the schematic diagram template is associated with schematic feature classes that work from custom queries. In that case, some parameters can also be positioned so the custom queries are reexecuted each time the diagram is loaded in memory. With such specific configurations, the diagrams' content when they are loaded doesn't show the schematic features that were stored in the schematic feature class at the diagram generation, but the schematic features built in memory after the custom queries have been reexecuted.
Schematic Dataset Editor offers several ways to define the schematic feature classes for a schematic diagram template.
- Using the New Schematic Feature Class function
- Using the Import From Feature Layers function
- Using the Import From Feature Classes/Object Tables function
- Using the Automatic schematic feature classes creation option in the builder properties
Each of these ways of working is detailed in a specific topic available in the Managing schematic feature classes help book.