Title Select by Association
This tool requires at least 1 record be selected.
The Selection Payload parameter must be specified in JSON as a list of dictionaries with the following keys:
Each key maps to an array of values. If the array is empty, then all valid choices are applied.
fromLayers and toLayers are the from and to side of the association, respectively. Each entry corresponds to a layer in the map.
For subtype group layers, specify as "SubtypeGroupLayer/SubtypeLayer".
fromSelectionType determines how the selection on the fromLayers is handled.
It has the following entries:
When clearing the selection, this happens after all entries in the group are processed.
associationTypes is the type of association between fromLayers and toLayers.
It has the following entries:
It has the following entries:
Grouping similar entries reduces the number of queries to find associated records. Entries are processed in the order they appear, not the value of the group.
AssociationSelection (in_utility_network, {layer_payload}, {json_payload}, count)
Parameter | Explanation | Data Type |
---|---|---|
in_utility_network |
Dialog Reference
<p>The utility network that controls the selected layers.</p> |
GPUtilityNetworkLayer |
layer_payload (Optional) |
Dialog Reference
<p>The layers and selection types to apply. For more help, see the tool usage.</p> |
GPValueTable |
json_payload (Optional) |
Dialog Reference
<p>The layers and selection types to apply. For more help, see the tool usage.</p> |
GPString |
GPLong |
workspace