Create Replica Footprints (Data Management)
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
-
The output feature class can be any geodatabase feature class (File, Personal, or ArcSDE).
Syntax
Parameter | Explanation | Data 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
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")
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)