Create Replica Footprints (Data Management)

License Level:BasicStandardAdvanced

Summary

Creates a feature class that contains the geometries for all the replicas in a geodatabase. Attributes in the feature class store the information from the replica manager.

Usage

Syntax

CreateReplicaFootprints_management (in_workspace, out_workspace, output_featureclass_name)
ParameterExplanationData Type
in_workspace

The geodatabase containing the replicas from which you would like to create the replica footprint. The geodatabase must be a local geodatabase; it cannot be a geodata service.

Workspace
out_workspace

The output geodatabase that will hold the replica footprints feature class once it is created. The geodatabase may be local or remote.

Workspace
output_featureclass_name

The name of the replica footprints feature class to be created.

String

Code Sample

CreateReplicaFootprints Example (Python Window)

The following Python Window script demonstrates how to use the CreateReplicaFootprints function in the Python window.

import arcpy
from arcpy import env
env.workspace = "C:/Data/MySDEdata.sde"
arcpy.CreateReplicaFootprints_management(env.workspace, env.workspace, "replicaFootprints")
CreateReplicaFootprints Example 2 (stand-alone Python script)

The following Python script demonstrates how to use the CreateReplicaFootprints function in a stand-alone script.

# Name CreateReplicaFootprints_Example2.py
# Description: Creates a replica footprints feature class for an SDE workspace.  
# The output FC is stored in the same SDE workspace.

# Import system modules
import arcpy
from arcpy import env

# Set workspace
env.workspace = "C:/Data/MySDEdata.sde"

# Set local variables
out_FC = "replicaFootprints"
arcpy.CreateReplicaFootprints_management(env.workspace, env.workspace, out_FC)

Environments

Related Topics

Licensing Information

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