EnableLRSUPDM

Title  Enable APR on UPDM

Description

Creates the script to enable LRS or enables LRS on a UPDM database with a utility network.

Usage

Creates the script to enable LRS or enables LRS on a UPDM database with a utility network.

Syntax

EnableLRSUPDM (in_utility_network, lrs_name, write_script, {output_folder})

Parameter Explanation Data Type
in_utility_network Dialog Reference

The utility network that will be used to create the LRS.

GPUtilityNetworkLayer
lrs_name Dialog Reference

The name of the LRS to create. The name for the LRS cannot already exist in the geodatabase.

GPString
write_script Dialog Reference

Option to only write a script to enable LRS and not perform the Geoprocessing calls. This script can be run through python to enable LRS. Selecting this option will enable the output folder parameter.

GPBoolean
output_folder (Optional) Dialog Reference

Output folder for the LRS script. The script name will start with "updm_lrs" and end with a unique GUID. This parameter is only valid when Write Output Script is true.

DEFolder

Code Samples

Tags

Credits

Use limitations