CreateContingentValuesWorkbook

Title  Create Contingent Values Workbook

Description

Creates an excel workbook to review and modify contingent values defined by data, schema or existing values.

Usage

          
The target table must have at least one field field group.

License

Basic

Syntax

CreateContingentValuesWorkbook (input_table, workbook, mode)

Parameter Explanation Data Type
input_table Dialog Reference

The table with field groups.

GPTableView
workbook Dialog Reference

The output Excel file containing information about field groups and contingent values.

DEFile
mode Dialog Reference

Defines from where the contingent values will be generated:

  • Create empty - Do not create any contingent value entries. This is the default.
  • Use schema - Create contingent values from all combinations of domains. This is the default.
  • Use data - Create contingent values from existing rows in the table.
  • \
  • Use contingent values - Creates the workbook with the existing contingent values.

GPString

Code Samples

CreateContingentValuesWorkbook example 1 (Python window)

Creates an excel workbook to review and modify contingent values defined by data, schema or existing values.

import arcpy

arcpy.udms.CreateContingentValuesWorkbook(
    r"D:/data/UtilityNetwork.gdb\UtilityNetwork\UNDevice",
    r"D:/data",
    "DATA",
)

CreateContingentValuesWorkbook example 2 (stand-alone script)

Creates an excel workbook to review and modify contingent values defined by data, schema or existing values.

import arcpy

arcpy.udms.CreateContingentValuesWorkbook(
    input_table=r"D:/data/UtilityNetwork.gdb\UtilityNetwork\UNDevice",
    workbook=r"D:/data",
    mode="DATA",
)