Available with Business Analyst license.
Summary
Creates a group layer that represents a territory solution from an existing territory solution dataset.
Usage
The input data must be a feature dataset that represents an existing territory solution.
Syntax
arcpy.td.MakeTerritorySolutionLayer(in_territory_dataset, out_territory_solution)
Parameter | Explanation | Data Type |
in_territory_dataset | The input territory solution. | Feature Dataset; String |
out_territory_solution | The output territory solution group layer. | Group Layer |
Code sample
The following Python window script demonstrates how to use the MakeTerritorySolutionLayer tool.
import arcpy
arcpy.td.MakeTerritorySolutionLayer(r"C:\Temp\sampledata.gdb\TerritorySolution”, “TD”)
Environments
Licensing information
- Basic: Requires Business Analyst
- Standard: Requires Business Analyst
- Advanced: Requires Business Analyst