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.
- Open the solution file and build the project. Note that this step is automatically registering the component.
- Start ArcCatalog.
- Browse to any geodatabase that contains a schematic dataset.
- Right-click this schematic dataset entry and select Edit. The Schematic Dataset Editor starts.
- Select any diagram template entry that works with the Standard builder or create a diagram template that works with the Standard builder.
- Click the Rules tab.
- Click Add Rule on the Rules tab toolbar.
- Select the new custom rule from the Type drop-down list (that is, select Reduction Link Rule VBNet or Reduction Link Rule C#).
- Click Rule Properties on the Rules tab toolbar. The custom rule properties page appears.
- Select the link schematic feature class (that implements the schematic links that will be automatically reduced during the rule execution) in the Link to reduce drop-down list.
- Select the Use Port check box if your schematic links connect to a specific port at their extremity nodes and you want the rule to take these port connections into account during its execution.
- Click Save to save the schematic dataset's new parameters.
- Start ArcMap and generate or update a schematic diagram from the diagram template (which definition has been just modified); the custom rule will be executed.
ReductionLinkRule.vb | Implementation for the custom rule. |
frmReductionLink.vb | Form for the custom rule property page. |
frmReductionLink.Designer.vb | Form for the custom rule property page. |
ReductionLinkPropertyPage.vb | Implementation for the custom rule's property page. |
ReductionLinkRule.cs | Implementation for the custom rule. |
frmReductionLink.cs | Form for the custom rule property page. |
frmReductionLink.Designer.cs | Form for the custom rule property page. |
ReductionLinkPropertyPage.cs | Implementation for the custom rule's property page. |
Download the files for all languages
See Also:
ISchematicRule interfaceISchematicRuleDesign interface
Development licensing | Deployment licensing |
---|---|
ArcView: Schematics | ArcView: Schematics |
ArcEditor: Schematics | ArcEditor: Schematics |
ArcInfo: Schematics | ArcInfo: Schematics |