ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Rebuild Geometric Network

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

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

  • 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_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

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

  • ArcGIS for Desktop Basic: No
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the Geometric Network toolset

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal