Generating a diagram from custom queries

Requisito previo:

Before generating diagrams from custom queries, you must create a schematic diagram template in your schematic dataset, configure it to work with the Standard builder, and configure the custom queries on the associated schematic feature classes that will be executed to build the diagrams' content.

Learn more about configuring a Standard builder diagram template to build schematic diagrams from custom queries

For generating schematic diagrams from custom queries, the easiest way is to start ArcMap and use the Generate New Schematic Diagram command Generate New Schematic Diagram icon on the Schematic toolbar. The following section details the steps to generate a Standard schematic diagram built by custom queries in ArcMap.

NotaNota:

The Schematics geoprocessing tool called Create Diagram can also be used to generate Standard builder diagrams from custom queries. You can also use the Schematic API and develop custom code to generate such diagrams.

PrecauciónPrecaución:

You cannot generate diagrams while an edit session is open and the related Schematics tables and edited geographic feature classes are in the same physical workspace (database) except when you are working in a versioned ArcSDE or file geodatabase. When working in a personal or nonversioned ArcSDE geodatabase, you must stop the edit session on your geographic data before generating any diagram.

Learn more about generating diagrams while an edit session is open

Pasos:
  1. Start ArcMap.
  2. Click the Generate New Schematic Diagram button Generate New Schematic Diagram icon on the Schematic toolbar.

    The New Schematic Diagram dialog box opens.

    New Schematic Diagram dialog box—Standard builder diagram built by custom queries

  3. Click the Schematic Dataset or Folder drop-down arrow and choose the schematic dataset or the schematic folder in the desired schematic dataset where the generated schematic diagram will be stored.

    Learn more about the schematic datasets/folders suggested by default in this drop-down list

    SugerenciaSugerencia:

    If you want your new schematic diagram to be stored in another schematic dataset that is not in the list, click the browse button to the right of the Schematic Dataset or Folder drop-down list and browse to the desired schematic dataset you want to work with. By selecting a specific schematic folder in a schematic dataset, the generated schematic diagram is automatically stored in this schematic folder instead of the schematic dataset root.

  4. Click the Schematic Diagram Template drop-down arrow and choose the schematic diagram template based on the Standard builder that will be used to generate the schematic diagram.

    All the predefined schematic diagram templates available from the currently selected schematic dataset specified in the Schematic Dataset or Folder drop-down list are itemized in this list.

  5. Keep the [Create New Data Frame] default value in the Output Data Frame drop-down list so the generated schematic diagram automatically displays in a new data frame, or select the data frame in which you want the generated schematic diagram to be added from that drop-down list.
  6. Type a name or pick up one of the predefined names for the schematic diagram to be generated in the Schematic Diagram Name area.

    When a custom query is configured for the schematic diagram template, the Schematic Diagram Name control displays as a drop-down list with predefined schematic diagram names. These names correspond to the schematic diagram identifiers defined for the related schematic diagram template. In that case, you must select one of the predefined diagram names.

    If no custom query is specified for the schematic diagram template, the Schematic Diagram Name control displays as a text box where you can type any name for the generated diagram.

  7. Click OK.

The schematic diagram is generated and displayed in the specified data frame. It is now referenced in the schematic database.

Temas relacionados


7/11/2012