Trace2Config

Title  Trace to Trace Configurations

Description

          

To capture the python code, configure a Utility Network trace and copy the python command.

If the name of the trace configuration already exists, a number will be appended for uniqueness.

Syntax

Trace2Config (trace_configurations, execute, {output_script}, created_names)

Parameter Explanation Data Type
trace_configurations Dialog Reference

<p> The Trace Configurations to create. <ul><li>Python - The python code for Trace.</li><li>Name - The name of the trace configuration that will be created.</li><li>Description - A short description of the trace. This is optional.</li><li>Tags - Keywords used during search. Enter multiple tags on newlines. This is optional.</li></ul> </p>

GPValueTable
execute Dialog Reference

<p> Option to immediately add the configurations <ul><li>Checked - Add the trace configurations.</li><li>Unchecked - Generate the call to add the trace configuration in the script specified. This is the default.</li></ul> </p>

GPBoolean
output_script (Optional) Dialog Reference

<p>Create a python script with the call to arcpy.un.AddTraceConfiguration.</p>

DEFile
GPMultiValue

Code Samples

Environments

workspace