Import Diagram Template Definitions (Network Diagram Tools)
Summary
Imports a network diagram rule and layout definitions file (.ndbd), a network diagram layer definition file (.ndld), or both into an existing template.
Caution:
This tool is a configuration and administration tool.
Note:
Importing a network diagram rule and layout definitions file (.ndbd) causes the Consistency field value in the database to switch to inconsistent for any existing diagram based on the input diagram template. All of these diagrams remain inconsistent and open with a consistency warning icon
until they are updated.
Usage
This tool is not supported when working with a utility network or trace network service. You must use either a utility network or trace network in a file or mobile geodatabase, or a database connection to a utility network or trace network in an enterprise geodatabase. When working with an enterprise geodatabase, the following are requirements:
The Input Network parameter value must be from a database connection established as the database utility network owner or database trace network owner.
The connected ArcGIS Enterprise portal account must be the portal utility network owner or portal trace network owner.
This tool must be connected to the default version, which is expected to be public and not protected.
This tool is useful for copying the full diagram template definitions from one network to another.
The input diagram template must be from the same type of network as the network diagram rule and layout definitions file (
.ndbd) and network diagram layer definition file (.ndld)—for example, you can't import a network diagram rule and layout definitions file or a network diagram layer definition file from a gas utility network into a template related to a water or electric utility network. In general, do not export definitions from a source template and import them to a destination template when the networks of the source and destination templates don't share the following:The same network type
The same domain
The same data model
The same asset type and asset group values
The diagram template must exist for the input network before using this tool. Its network diagram rule and layout definitions and diagram layer definition will be entirely overwritten by the imported definitions at the end of the tool processing.
When a diagram layer definition does not exist on the input diagram template and the tool runs with either no
.ndldfile or an empty.ndldfile in input, the tool process automatically initializes a default diagram layer definition on the template.When running this tool with a
.ndldfile, a layer definition ID will be added to the template. This ID helps the network owner to control how diagram layer definitions are shared between diagram templates and improve this sharing. For a published utility network or trace network service, this ID will also improve the service start time.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Network |
The utility network or trace network containing the diagram template that will be modified. |
Utility Network; Trace Network |
|
Input Diagram Template |
The name of the diagram template onto which the definitions will be imported. |
String |
|
Rule and Layout Definitions File (Optional) |
The network diagram rule and layout definitions file ( This file is the result of using the Export Diagram Template Definitions tool on an existing template. At least one of the two input file parameters must be completed; that is, either the network diagram rule and layout definitions file ( |
File |
|
Diagram Layer Definition File (Optional) |
The network diagram layer definition file ( This file is the result of using the Export Diagram Template Definitions or Export Diagram Layer Definition tool on an existing template. At least one of the two input file parameters must be completed; that is, either the network diagram rule and layout definitions file ( When a diagram layer definition does not exist for the input diagram template and this parameter is not specified or loads an empty |
File |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Network |
The updated utility network or trace network. |
Utility Network; Trace Network |
|
Output Diagram Template |
The name of the diagram template. |
String |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes