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 enterprise).
Syntax
arcpy.management.CreateReplicaFootPrints(in_workspace, out_workspace, output_featureclass_name)
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
CreateReplicaFootprints example (Python window)
The following Python Window script demonstrates how to use the CreateReplicaFootprints function in the Python window.
import arcpy
arcpy.env.workspace = "C:/Data/MySDEdata.sde"
arcpy.CreateReplicaFootprints_management(arcpy.env.workspace, arcpy.env.workspace, "replicaFootprints")
CreateReplicaFootprints example 2 (stand-alone 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 enterprise workspace.
# The output FC is stored in the same enterprise workspace.
# Import system modules
import arcpy
# Set workspace
arcpy.env.workspace = "C:/Data/MySDEdata.sde"
# Set local variables
out_FC = "replicaFootprints"
arcpy.CreateReplicaFootprints_management(arcpy.env.workspace, arcpy.env.workspace, out_FC)
Environments
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes