<?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: Excluding Features from Field Calculation in Batch Trace? in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692521#M6624</link>
    <description>&lt;P&gt;Also, instead of using Asset Group codes or Asset Type codes for your filters, consider using a network category. Asset groups/type codes are not guaranteed to be unique, and using a network category allows you to exclude/include multiple asset groups/types with a single category.&lt;/P&gt;&lt;P&gt;It also makes the filter easier to understand. Saying you're excluding asset group 12 doesn't mean much, but saying you're excluding something like "cathodic equipment" or "high voltage" does.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2026 14:05:00 GMT</pubDate>
    <dc:creator>RobertKrisher</dc:creator>
    <dc:date>2026-03-25T14:05:00Z</dc:date>
    <item>
      <title>Excluding Features from Field Calculation in Batch Trace?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692479#M6622</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to perform a field calculation using the &lt;STRONG&gt;Batch Trace&lt;/STRONG&gt; tool, specifically with the &lt;STRONG&gt;Fields to Update&lt;/STRONG&gt; option. However, I want to &lt;STRONG&gt;exclude certain features from the calculation based on an attribute condition&lt;/STRONG&gt;.&lt;BR /&gt;For example, I do not want the field calculation to be applied to records where &lt;STRONG&gt;ASSETGROUP = 12&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;Additionally, what is the logic behind the &lt;STRONG&gt;Code Block&lt;/STRONG&gt; section at the bottom?&lt;BR /&gt;Is it possible to implement this kind of conditional logic using the Code Block?&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Calculate.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/150259iC812DBC9F58C0229/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Calculate.jpg" alt="Calculate.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 11:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692479#M6622</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-03-25T11:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Features from Field Calculation in Batch Trace?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692495#M6623</link>
      <description>&lt;P&gt;Can you use an output filter to limit the trace results to remove AssetGroup = 12?&amp;nbsp; The code block is designed to allow a user function for the calculated value.&amp;nbsp; It will not let you limit what features get calculated.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 13:09:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692495#M6623</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2026-03-25T13:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Features from Field Calculation in Batch Trace?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692521#M6624</link>
      <description>&lt;P&gt;Also, instead of using Asset Group codes or Asset Type codes for your filters, consider using a network category. Asset groups/type codes are not guaranteed to be unique, and using a network category allows you to exclude/include multiple asset groups/types with a single category.&lt;/P&gt;&lt;P&gt;It also makes the filter easier to understand. Saying you're excluding asset group 12 doesn't mean much, but saying you're excluding something like "cathodic equipment" or "high voltage" does.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2026 14:05:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692521#M6624</guid>
      <dc:creator>RobertKrisher</dc:creator>
      <dc:date>2026-03-25T14:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding Features from Field Calculation in Batch Trace?</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692787#M6632</link>
      <description>&lt;P&gt;We are using a custom data model and not the Electric Network Foundation provided by Esri. In our schema, the ASSETGROUP code values are designed to be unique, so using an output filter seems sufficient for our needs.&lt;/P&gt;&lt;P&gt;Thank you, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/188597"&gt;@MikeMillerGIS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2026 13:28:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/excluding-features-from-field-calculation-in-batch/m-p/1692787#M6632</guid>
      <dc:creator>JohnGoat</dc:creator>
      <dc:date>2026-03-26T13:28:50Z</dc:date>
    </item>
  </channel>
</rss>

