ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Rebuild Geometric Network

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Deletes 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

  • The Rebuild Geometric Network tool can take anywhere from hours to several days to complete, depending on the size of the geometric network and number of versions within an enterprise geodatabase. While the tool is running, the geometric network will not be available to other users and applications.

  • It is strongly recommended that a backup for your local or enterprise geodatabase be taken prior to running this tool. The results of this tool are permanent; they cannot be undone and cannot be rolled back.

  • When run against a geometric network in an enterprise geodatabase, the owner of the geometric network must be the user specified in the workspace connection.

  • Note:

    This tool is available in version 10.2.1 and later.

Syntax

RebuildGeometricNetwork(geometric_network, out_log)
ParameterExplanationData Type
geometric_network

The geometric network to rebuild.

Geometric Network
out_log

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

File

Code sample

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.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics

  • An overview of the Geometric Network toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal