Add Global IDs (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.3
Last modified March 8, 2012 |
![]() ![]() ![]() Print all topics in : "Tools" |
Adds global IDs to a list of geodatabase classes, tables and/or feature datasets
Learn more about creating replicas.
Learn more about preparing data for replication.
Usage tips
If the geodatabase is a personal or file geodatabase, then the datasets must be schema only.
The following environment settings affect this tool: workspace, scratch workspace, and Configuration keyword.
Command line syntax
An overview of the Command Line window
AddGlobalIDs_management <in_dataset_list>
Parameter | Explanation | Data Type |
<in_dataset_list> |
A list of geodatabase classes, tables, and/or feature datasets that global IDs will be added to |
Layer | Table View | GeoDataset |
AddGlobalIDs roads
Scripting syntax
About getting started with writing geoprocessing scripts
AddGlobalIDs_management (in_dataset_list)
Parameter | Explanation | Data Type |
in_dataset_list (Required) |
A list of geodatabase classes, tables, and/or feature datasets that global IDs will be added to |
Layer | Table View | GeoDataset |
# Create the Geoprocessor object import arcgisscripting, sys, scripting, os gp = arcgisscripting.create() # Set the necessary product code gp.SetProduct("ArcInfo") # Load required toolboxes... gp.AddToolbox("Data Management Tools.tbx") # Process: Add Global IDs... gp.AddGlobalIDs("Roads")