Rebuild Geometric Network (Data Management)

License Level:BasicStandardAdvanced

Summary

Drops and re-creates the logical network index for the geometric network. If the geometric network is in an enterprise geodatabase and is versioned, the logical network will be rebuilt across all versions of the database. This tool will not change features in the network, no snapping will occur, and no orphan junction features will be created.

Usage

Syntax

RebuildGeometricNetwork_management (geometric_network, log_file)
ParameterExplanationData Type
geometric_network

The geometric network to rebuild.

Geometric Network
log_file

A log file containing details about the progress of the tool.

File

Code Sample

RebuildGeometricNetwork example

The following stand-alone Python script demonstrates how to use RebuildGeometricNetwork to find disconnected features within a geometric network.

# Import arcpy module
import arcpy

# Local variables:
Water_Net = "C:\\testing\\GeometricNetworks\\Montgomery.gdb\\Water\\Water_Net"

# Process: Rebuild Geometric Network
arcpy.RebuildGeometricNetwork_management(Water_Net, c:\temp\Water_Net_Rebuild.log)

Environments

This tool does not use any geoprocessing environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
5/7/2015