Title Enable APR on UPDM
Creates the script to enable LRS or enables LRS on a UPDM database with a utility network.
EnableLRSUPDM (in_utility_network, lrs_name, write_script, {output_folder}, result)
Parameter | Explanation | Data Type |
---|---|---|
in_utility_network |
Dialog Reference
<p>The utility network that will be used to create the LRS.</p> |
GPUtilityNetworkLayer |
lrs_name |
Dialog Reference
<p>The name of the LRS to create. The name for the LRS cannot already exist in the geodatabase.</p> |
GPString |
write_script |
Dialog Reference
<p>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.</p> |
GPBoolean |
output_folder (Optional) |
Dialog Reference
<p>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.</p> |
DEFolder |
GPString |
workspace