<?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: Ways to add a entry to an attribute table when intersecting a line in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/ways-to-add-a-entry-to-an-attribute-table-when/m-p/1618532#M1768</link>
    <description>&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;return $feature.loop_length == 100; evaluates to 0, it is a boolean operation.&amp;nbsp; Just return 100&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 14:38:14 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2025-05-27T14:38:14Z</dc:date>
    <item>
      <title>Ways to add a entry to an attribute table when intersecting a line</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/ways-to-add-a-entry-to-an-attribute-table-when/m-p/1618519#M1767</link>
      <description>&lt;P&gt;Hello, I am trying to create an attribute rule to input the number 100 in a column for every new point added in to the map when it intersects a polyline, here is the code below, but I have only gotten it to put in the number 0 when it is tested, have any solutions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var fibercable = FeaturesetByName($datastore, "attributeruletest.sde.fibercable");&lt;BR /&gt;var midspan = intersects($feature, fibercable);&lt;BR /&gt;if(midspan == true)&lt;BR /&gt;{&lt;BR /&gt;return $feature.loop_length == 100;&lt;BR /&gt;} else {&lt;BR /&gt;return false;&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 14:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/ways-to-add-a-entry-to-an-attribute-table-when/m-p/1618519#M1767</guid>
      <dc:creator>rsnider43</dc:creator>
      <dc:date>2025-05-27T14:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ways to add a entry to an attribute table when intersecting a line</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/ways-to-add-a-entry-to-an-attribute-table-when/m-p/1618532#M1768</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;return $feature.loop_length == 100; evaluates to 0, it is a boolean operation.&amp;nbsp; Just return 100&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 14:38:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/ways-to-add-a-entry-to-an-attribute-table-when/m-p/1618532#M1768</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2025-05-27T14:38:14Z</dc:date>
    </item>
  </channel>
</rss>

