How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Building the component
- Start Visual Studio.
- Open the solution and build the project.
Adding the custom Create Basic Schematic Settings button to any ArcCatalog toolbar
- Start ArcCatalog.
- Click Customize and click Customize Mode.
- Click the Commands tab, and click Schematic Extras (VBNet) or Schematic Extras (CSharp) in the Categories list.
- Drag-and-drop the Create Basic Schematic Settings command onto any toolbar.
Testing the Create Basic Schematic Settings wizard
- In the Catalog tree, either select the geodatabase in which you want to create the new schematic dataset with basic settings or select the schematic dataset in which you want to configure a new diagram template.
- Click the Create Basic Schematic Settings (VBNet) or Create Basic Schematic Settings (C#) button. The Dataset and Template Name dialog box appears.
- If you started from a selected geodatabase, type a name for the new schematic dataset to create in the Dataset Name field. When starting from a schematic dataset, the Dataset Name field is already specified.
- Type a name for the diagram template in the Template Name field.
- Select Use digitized vertices if you want the schematic links in the diagrams based on the new diagram template to display with their initial vertices.
- Click Next. The Select a map document dialog box appears.
- Select the map that contains the geographic feature classes from which you want to generate the diagrams based on the new diagram template and click Add. The Select network feature classes to reduce dialog box appears.
- If you want a Node reduction by priority rule to be configured on your diagram template for one or several schematic feature classes, select the desired schematic feature class items.
- Click Next. The Advanced Options dialog box appears.
- In the Algorithm tab, if you want a Smart Tree schematic layout algorithm to be automatically executed at the end of each diagram generation, select the Apply Smart Tree algorithm check box, then configure the desired Direction and Root Feature Class using the drop-down lists.
- In the Attributes tab, if you want some schematic associated field attributes to be automatically created on your schematic feature classes, select the Create associated attribute check box. Select the desired schematic feature class on the left part of the form and, on the right part, select the check box related to each desired field item.
- Click Done. The process starts. A new schematic dataset containing a new diagram template with the settings you specified is created in the geodatabase.
- You can now open the map that was selected in the preceding Step 7, select some features, and generate a new diagram based on the new dataset and/or template.
GenerateSchematicTemplate.cs | Class file that implements the ArcCatalog tool. |
frmDatasetTemplateName.cs | Class that implements the Dataset and Template Name form. |
frmSelectItemsToReduce.cs | Class that implements the Select network feature classes form. |
frmAdvanced.cs | Class that implements the Advanced Options form. |
Events.cs | Class that implements the events. |
Config.esriaddinx | Add-in declarations in Extensible Markup Language (XML). |
GenerateSchematicTemplate.vb | Class file that implements the ArcCatalog tool. |
frmDatasetTemplateName.vb | Class that implements the Dataset and Template Name form. |
frmSelectItemsToReduce.vb | Class that implements the Select network feature classes form. |
frmAdvanced.vb | Class that implements the Advanced Options form. |
Events.vb | Class that implements the events. |
Config.esriaddinx | Add-in declarations in Extensible Markup Language (XML). |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Advanced: Schematics | ArcGIS for Desktop Advanced: Schematics |