Export Territories Database (Territory Design)

Nivel de licencia:BasicStandardAdvanced

Resumen

Exports a Territory database to an external table.

Exporting a Territory database creates a territory assignment table.

Uso

Sintaxis

ExportTerritoriesDatabase_td (in_territory_solution_layer, in_al_id_field, in_dest_workspace, in_dest_table_name)
ParámetroExplicaciónTipo de datos
in_territory_solution_layer

The Territory Solution layer whose data is to be exported.

GP TD Layer
in_al_id_field

The ID Field of the Alignment Layer.

String
in_dest_workspace

The location of the destination workspace.

Workspace
in_dest_table_name

The name of the newly created table.

String

Ejemplo de código

The following Python window script demonstrates how to use Business Analyst geoprocessing tool in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()
gp.ExportTerritoriesDatabase_TD("new layer", "ID", "C:/Temp", "database.dbf")

The following stand-alone script demonstrates how to use the tool.

# Import system modules
import arcgisscripting
gp = arcgisscripting.create()

# Set local variables
solution = "new layer"
idfield = "ID"
workspace = "C:/Temp"
name = "database.dbf"

# Execute tool
gp.ExportTerritoriesDatabase_TD(solution, idfield, workspace, name)

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento.

Temas relacionados

Información sobre licencias

ArcGIS for Desktop Basic: Requiere Business Analyst
ArcGIS for Desktop Standard: Requiere Business Analyst
ArcGIS for Desktop Advanced: Requiere Business Analyst
4/26/2014