Copy Territory Solution (Territory Design)

Available with Business Analyst license.

Summary

Creates a copy of a territory solution.

Usage

  • The input data must be an existing territory solution layer.

Parameters

LabelExplanationData Type
Input Territory Solution

The input territory solution.

Group Layer; Feature Dataset; String
Target Geodatabase

The location of the output geodatabase.

Workspace
Territory Solution Name

The name of the copied territory solution

String

Derived Output

LabelExplanationData Type
Out Territory Solution

The copied territory solution.

Group Layer

arcpy.td.CopyTerritorySolution(in_territory_solution, target_gdb, territory_solution_name)
NameExplanationData Type
in_territory_solution

The input territory solution.

Group Layer; Feature Dataset; String
target_gdb

The location of the output geodatabase.

Workspace
territory_solution_name

The name of the copied territory solution

String

Derived Output

NameExplanationData Type
out_territory_solution

The copied territory solution.

Group Layer

Code sample

CopyTerritorySolution example (Python window)

The following Python window script demonstrates how to use the CopyTerritorySolution function.

import arcpy
arcpy.td.CopyTerritorySolution("TerritorySolution", r"C:\MyProject\fGDB.gdb", "TerritorySolution copy")

Environments

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics