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 automatically registers the components.
- 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 Bisector Rule C# or Bisector Rule VBNet).
- Click Rule Properties on the Rules tab toolbar. The custom rule properties page appears.
- Select the node schematic feature class that implements the nodes connecting to two schematic links for which a bisector link will be created in the Select the parent node schematic feature class drop-down list.
- Select the node schematic feature class that will be used to implement the new end schematic nodes for each bisector in the Select the target node schematic feature class drop-down list.
- Select the link schematic feature class that will be used to implement the schematic bisector link in the Select to target link schematic feature class drop-down list.
- Add the distance value used to initialize the length of the newly created bisector link (that is, the distance between the initial node and the newly created end node of the bisector).
- Click Save to save the schematic dataset's new parameters.
- Start ArcMap. Generate a diagram containing nodes based on the node schematic feature class specified in the Select the parent node schematic feature class drop-down list; those nodes being connected to only two nodes. The custom rule is executed during the diagram generation and automatically creates a bisector link for each of these nodes.
BisectorRule.vb | Implementation for the custom bisector rule. |
BisectorRuleVBNet2010.vbproj | Project file for the custom bisector rule code. |
BisectorRulePropertyPage.vb | Implementation for the custom rule's property page. |
FrmBisectorRule.vb | Custom rule's property page. |
FrmBisectorRule.Designer.vb | Custom rule's property page. |
BisectorRulePageVBNet2010.vbproj | Project file for the custom bisector rule's property page code. |
BisectorRule.cs | Implementation for the custom bisector rule. |
BisectorRuleCS2010.csproj | Project file for the custom bisector rule code. |
BisectorRulePropertyPage.cs | Implementation for the custom rule's property page. |
FrmBisectorRule.cs | Custom rule's property page. |
FrmBisectorRule.Designer.cs | Custom rule's property page. |
BisectorRulePageCS2010.csproj | Project file for the custom bisector rule's property page code. |
Download the files for all languages
See Also:
ISchematicRulesHelper interfaceISchematicRule interface
ISchematicRuleDesign interface
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Basic: Schematics | ArcGIS for Desktop Basic: Schematics |
ArcGIS for Desktop Standard: Schematics | ArcGIS for Desktop Standard: Schematics |
ArcGIS for Desktop Advanced: Schematics | ArcGIS for Desktop Advanced: Schematics |