Select to view content in your preferred language

Geometric Network Configuration Manager

3462
3
09-11-2013 05:16 AM
RichieCarmichael
Esri Contributor
0 3 3,462
Capture1.png

This post discusses the release of a sample utility called Geometric Network Configuration Manager.  In some instances when it is necessary to temporarily remove a geometric network, this tool can recreate the geometric network from a backed definition file.

The add-in can be downloaded from here.

The source code is available here or here on github.

Configuration Manager has a very long lineage.  More than a decade ago the Prototype Lab published Geodatabase Designer for documenting geodatabases and exchanging schema.  Designer is now obsolete but fortunately much of its capabilities are now incorporated into ArcMap or other tools such as ArcGIS Diagrammer and XRay for ArcCatalog.

However the one feature from Designer that has yet to be replicated is the ability to save and restore geometric networks.  This useful if loading large amounts data or performing a schema change like switching a feature class from a simple edge to a complex edge.PrerequisitesLibraries Used
The following section will walkthrough the steps required to backup geometric network, remove it and then restore it.  The use case for this workflow could be for bulk data loading or transferring a geometric network from a test server to a production server.Walkthrough

Following the successful installation of the add-in.  Display the Geometric Network Tools toolbar and click the first button to launch the main dialog.  Drag and drop a geometric network into the configuration manager window.Capture3-300x203.png

The complete definition of the geometric network will be loaded into the dialog.  The four tabs below the ribbon make it is possible to review and, in some cases, modify classes, weights and connectivity rules.Capture5-300x180.png

The geometric network definition is current stored in memory and should really be saved to a file so that it can backed-up or restored at a later time.  Click the save or Save As button to export the definition to a file with a esriGeoNet extension.Capture6-300x180.png

Recreating a geometric network is just a matter of loading an esriGeoNet file and clicking Export.  The application will prompt the user for the name and location of the exported geometric network.  If the geometric network already exists, it will be overwritten.Known Issues:

  • The dialog that appears when the Export button is click may be hidden by the Configuration Manager window.  Either minimize or move the window to the side to continue with the export operation.

  • Add and removing of network classes and weights is currently not supported.
3 Comments
SSMIC3038
Frequent Contributor

Great tool, can't get it to print though, they entire Review tab is greyed out.

Tried printing directly from a GN, tried saving as definition document as well, neither worked.

Any ideas?

RichieCarmichael
Esri Contributor

HI C_Martin‌, I just reviewed the code. It appears that the print and print preview buttons within review tab are unimplemented. I guess we just ran out of time. Sorry about the confusion.

JoeBryant1
Frequent Contributor

Hi, thanks for creating this necessary tool.

Has anyone been able to use the "Remove" Classes tool in the Editor tab?

I've tried it after opening just the .esriGeoNet file and after importing a Geometric Network from my GDB. This tool always seems to be grayed out. I need to remove 2 feature classes that have been retired from the configuration schema. I am not able to recreate the Geometric Network unless I recreate these missing feature classes in the feature dataset. And even after that I am not able to remove them.