ConfigureUtilityNetworkLayers

Title  Configure UN Layers

Description

Configures utility network layers by modifying popups and display filters.

Usage

This tool can be run multiple times and existing properties will be updated.

Syntax

ConfigureUtilityNetworkLayers (map_name, options, {input_project}, {category_filters}, {remove_settings}, {remove_display_filters})

Parameter Explanation Data Type
map_name Dialog Reference

The map name to process.

GPString
options Dialog Reference

The options to add to the layers.

  • Rule Popup - Adds an entry to the popup listing the valid rules the record can connect to.
  • Category Popup - Adds an entry to the popup listing the record's assigned network categories.
  • Subnetwork Popup- Adds an entry to the popup listing the record's assigned subnetworks and parent subnetworks. Only valid for partitioned networks.
  • Category Display Filter - Adds display filters to show/hide features with the assigned network categories.

GPString
input_project (Optional) Dialog Reference

The Pro project to read maps from. Leave blank to use the active project.

DEFile
category_filters (Optional) Dialog Reference

The display filters to add to the map. To specify multiple categories in the same display filter, reuse the Display Filter Name.

GPValueTable
remove_settings (Optional) Dialog Reference

When checked, this will remove these options from the layers.

GPBoolean
remove_display_filters (Optional) Dialog Reference

The display filters to remove.

GPString

Code Samples

Tags

Credits

Use limitations