<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using trace configurations in attribute rules in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223366#M2147</link>
    <description>&lt;P&gt;What version of the tools are you using?&amp;nbsp; The properties of the toolbox should have it in the description?&amp;nbsp; I reviewed the code and unsure why this is occurring.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 15:10:56 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2022-10-19T15:10:56Z</dc:date>
    <item>
      <title>Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1167362#M1724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to automatically set an attribute, based on a trace, to every feature created in a utility network.&lt;/P&gt;&lt;P&gt;Example : I want every line created downstream a circuit breaker feeder, to have the name of this feeder affected in a specific attribute.&amp;nbsp; I have a subnetwork controller which is not my feeder but the transformer in the station. Then I want to trace upstream in the subnetwork, get the first feeder and get its name when I create a cable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1650837190436.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39715iA1C14DF9A5242898/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1650837190436.png" alt="PierreloupDucroix_0-1650837190436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this possible using attribute rules ? If not, is there another way to do it ?&lt;/P&gt;&lt;P&gt;I first thought about using attribute propagation, but it only works with numerical values and not text. So I don't think it is easily applicable here, neither made for this purpose.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 24 Apr 2022 21:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1167362#M1724</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-04-24T21:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1169414#M1753</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/208186"&gt;@PierreloupDucroix&lt;/a&gt;&amp;nbsp;, your workflow bears resemblance to a batch trace workflow described &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-solutions/data-management/utility-data-management-support-tools-february-2022-update/" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm wondering whether you could create a geoprocessing model which runs a batch trace and then processes the result to store information on the assets identified.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/Utility-Data-Management-Support-Tools#batch-trace" target="_blank"&gt;https://github.com/Esri/Utility-Data-Management-Support-Tools#batch-trace&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 17:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1169414#M1753</guid>
      <dc:creator>JonathanDaweEsriUK</dc:creator>
      <dc:date>2022-04-29T17:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1169536#M1755</link>
      <description>&lt;P&gt;Hi, thanks, it looks indeed like what I want to do.&lt;/P&gt;&lt;P&gt;Not sure, reading the documentation, if I can use a text attribute from the result of the trace, as the summary information... But the skip_calc_on_start option does exactly what I want, updating the feature the starting point is coming from.&lt;/P&gt;&lt;P&gt;This will need further testing, but I think it will do the job.&lt;/P&gt;&lt;P&gt;Hope in a near future we would be able to trace directly in the arcade language.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 00:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1169536#M1755</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-04-30T00:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1192852#M1842</link>
      <description>&lt;P&gt;The batch trace has the option to store the raw summary results on the starting points.&amp;nbsp; You may have to parse and clean them up, then if you want to store them on downstream features, run another batch trace to push them down.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 10:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1192852#M1842</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-07-18T10:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1222437#M2133</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;after a long time, I finally managed to test batch tracing.&lt;/P&gt;&lt;P&gt;So far, I created a modelBuilder that does the following steps :&lt;/P&gt;&lt;P&gt;- from a selected cable, I first run a "Build stating points" tool, to find the nearest upstream circuit breaker.&lt;/P&gt;&lt;P&gt;- I append the result to an existing feature class, similar to the StartingPoints feature class, where I added a "circuitBreaker" field.&lt;/P&gt;&lt;P&gt;- I calculate this field, with an arcade expression, returning the circuit breaker name from the UN feature class, to my new StartingPoints layer.&lt;/P&gt;&lt;P&gt;- Lastly, I run a "Batch trace" to update every cable downstream to the circuit breaker, and I want to update the field CBName ('depart' in french), with the circuit breaker name that I calculated previously.&lt;/P&gt;&lt;P&gt;This is where it doesn't work, I have this error when running the batch trace : "Casefold does not exist"&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 30, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "D:\...\Toolboxes\20221017_Utility-Data-Management-Support-Tools-2.9\UtilityDataManagementSupport.atbx\udms\esri.py", line 111, in wrapper&lt;BR /&gt;File "D:\...\Toolboxes\20221017_Utility-Data-Management-Support-Tools-2.9\UtilityDataManagementSupport.atbx\udms\logic\__init__.py", line 126, in batch_trace&lt;BR /&gt;File "D:\...\Toolboxes\20221017_Utility-Data-Management-Support-Tools-2.9\UtilityDataManagementSupport.atbx\udms\logic\trace.py", line 193, in __init__&lt;BR /&gt;other_calledfuncs = other.calledfuncs&lt;BR /&gt;File "D:\...\Toolboxes\20221017_Utility-Data-Management-Support-Tools-2.9\UtilityDataManagementSupport.atbx\udms\logic\trace.py", line 193, in &amp;lt;listcomp&amp;gt;&lt;BR /&gt;other_calledfuncs = other.calledfuncs&lt;BR /&gt;AttributeError: ValueObject&amp;nbsp;: obtention d’attribut&amp;nbsp;: casefold n’existe pas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The trace I use is working when using the 'selection' option, it returns only cable features that have a CBName field. But not with the 'calculate' option...&lt;/P&gt;&lt;P&gt;Do you know how I can solve this ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1666000390060.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/53754iB9AC5CC18C6B742D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1666000390060.png" alt="PierreloupDucroix_0-1666000390060.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 04:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1222437#M2133</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-10-19T04:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223366#M2147</link>
      <description>&lt;P&gt;What version of the tools are you using?&amp;nbsp; The properties of the toolbox should have it in the description?&amp;nbsp; I reviewed the code and unsure why this is occurring.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 15:10:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223366#M2147</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-10-19T15:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223574#M2151</link>
      <description>&lt;P&gt;Version 2.9.0.2&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 20:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223574#M2151</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-10-19T20:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223808#M2152</link>
      <description>&lt;P&gt;Can you ensure you do not have an older version of the tool on your system.&amp;nbsp; Our only guess is that it is loading a module from an older version of the toolbox.&amp;nbsp; Your stack trace references a function that does not exist anymore.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1223808#M2152</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-10-20T14:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224148#M2154</link>
      <description>&lt;P&gt;I downloaded again the 2.9.1 version of the toolbox, and still have the same error :&lt;/P&gt;&lt;P&gt;This is the new stack trace :&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 30, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "D:\...\Toolboxes\20221021_UtilityDataManagementSupport_v291.atbx\udms\esri.py", line 118, in wrapper&lt;BR /&gt;File "D:\...\Toolboxes\20221021_UtilityDataManagementSupport_v291.atbx\udms\logic\__init__.py", line 158, in batch_trace&lt;BR /&gt;File "D:\...\Toolboxes\20221021_UtilityDataManagementSupport_v291.atbx\udms\logic\trace.py", line 195, in __init__&lt;BR /&gt;File "D:\...\Toolboxes\20221021_UtilityDataManagementSupport_v291.atbx\udms\logic\trace.py", line 195, in &amp;lt;listcomp&amp;gt;&lt;BR /&gt;AttributeError: ValueObject&amp;nbsp;: obtention d’attribut&amp;nbsp;: casefold n’existe pas&lt;/P&gt;&lt;P&gt;Note that I removed other version of the toolbox, and even uninstall/reinstall ArcGIS Pro 2.9.5&lt;/P&gt;&lt;P&gt;I also tried in a new, blank project, to load my UN service, and run the batch trace... Same result&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 04:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224148#M2154</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-10-21T04:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224339#M2156</link>
      <description>&lt;P&gt;Calculate is working for my test.&amp;nbsp; Are you using services, fgdb or mobilegdb?&amp;nbsp;&amp;nbsp;Could you zip up the project so I can test?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 18:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224339#M2156</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-10-21T18:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224360#M2157</link>
      <description>&lt;P&gt;Can you enable debug logging and share the results with us?&lt;/P&gt;&lt;P&gt;- Open UDMS toolbox&lt;/P&gt;&lt;P&gt;- Open the python windoe&lt;/P&gt;&lt;P&gt;- Enter the following&lt;/P&gt;&lt;P&gt;import udms&lt;BR /&gt;udms.logger.setLevel('DEBUG')&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 18:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224360#M2157</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-10-21T18:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224537#M2158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is the new trace, we believe that it may be caused by the "geoprocessing value object object" not having a casefold, but not sure what kind of object it is.&lt;/P&gt;&lt;P&gt;udms 2.9.1&lt;BR /&gt;udms.logic.batch_trace(&lt;BR /&gt;utility_network=&amp;lt;arcpy._mp.Layer object at 0x000001F4012EA388&amp;gt;,&lt;BR /&gt;trace_locations=&amp;lt;arcpy._mp.Layer object at 0x000001F4012EA408&amp;gt;,&lt;BR /&gt;result_types=['CALCULATE'],&lt;BR /&gt;output_folder=None,&lt;BR /&gt;summary_store_field=None,&lt;BR /&gt;field_mapping=[[&amp;lt;geoprocessing value object object at 0x000001F3E9CE1390&amp;gt;, 'Ligne', 'depart', 'FIRST']],&lt;BR /&gt;key_field=None,&lt;BR /&gt;expression=None,&lt;BR /&gt;trace_config='Field:: TraceConfigName',&lt;BR /&gt;calc_on_start=False,&lt;BR /&gt;)&lt;BR /&gt;udms.logic.batch_trace- 0.26459930000004306&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 30, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "D:\...\Toolboxes\20221024_UtilityDataManagementSupport_29.atbx\udms\esri.py", line 118, in wrapper&lt;BR /&gt;File "D:\...\Toolboxes\20221024_UtilityDataManagementSupport_29.atbx\udms\logic\__init__.py", line 158, in batch_trace&lt;BR /&gt;File "D:\...\Toolboxes\20221024_UtilityDataManagementSupport_29.atbx\udms\logic\trace.py", line 195, in __init__&lt;BR /&gt;&lt;BR /&gt;File "D:\...\Toolboxes\20221024_UtilityDataManagementSupport_29.atbx\udms\logic\trace.py", line 195, in &amp;lt;listcomp&amp;gt;&lt;BR /&gt;&lt;BR /&gt;AttributeError: ValueObject : obtention d’attribut : casefold n’existe pas&lt;/P&gt;</description>
      <pubDate>Sun, 23 Oct 2022 22:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224537#M2158</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-10-23T22:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224710#M2162</link>
      <description>&lt;P&gt;That is what I suspected.&amp;nbsp; Now to isolated why this is coming as this object vs a string.&amp;nbsp; Are you running this tool from history?&amp;nbsp; Are you selecting a layer in the map for the starting points or a lyrx file?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224710#M2162</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2022-10-24T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using trace configurations in attribute rules</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224970#M2164</link>
      <description>&lt;P&gt;I tried almost everything, from selecting in the map or in the gdb, to copying the startingPoint layer in a mobile geodabase, opening the toolbox in a blank project, from the history, from the atbx...&lt;/P&gt;&lt;P&gt;Is there a way I can give you access to my Service / gdb, so you can try by yourself ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 23:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/using-trace-configurations-in-attribute-rules/m-p/1224970#M2164</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2022-10-24T23:06:55Z</dc:date>
    </item>
  </channel>
</rss>

