Setup Level Balancing Variables (Territory Design)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Allows the setup of level balancing variables.

Использование

Синтаксис

SetupLevelBalancingVariables_TD_td (in_territory_solution_layer, in_level, {in_balance_variables})
ПараметрОбъяснениеТип данных
in_territory_solution_layer

The Territory Solution layer used to setup the parameters.

GP TD Layer
in_level

The Territory Level to modify.

String
in_balance_variables
[in_balance_variables,...]
(дополнительно)

The Balancing variable list and preferences.

GP Value Table

Пример кода

SetupLevelBalancingVariables example (Python window)

The following Python window script demonstrates how to use the tool in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()
gp.SetupLevelBalancingVariables_TD("new layer", "Territories[1]", "AREA_SUM 45;TOTPOP_CY_SUM 55")
SetupLevelBalancingVariables example 2 (stand-alone script)

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"
level = "Territories[1]"
balanceVars = "AREA_SUM 45;TOTPOP_CY_SUM 55"

# Execute tool
gp.SetupLevelBalancingVariables_TD(solution, level, balanceVars)

Параметры среды

Этот инструмент не использует параметры среды геообработки

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Требует Business Analyst
ArcGIS for Desktop Standard: Требует Business Analyst
ArcGIS for Desktop Advanced: Требует Business Analyst
4/27/2014