<?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: Moving two geometries with one constraint rule in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260166#M734</link>
    <description>&lt;P&gt;As far as I know, no.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 18:18:06 GMT</pubDate>
    <dc:creator>MikeMillerGIS</dc:creator>
    <dc:date>2023-02-21T18:18:06Z</dc:date>
    <item>
      <title>Moving two geometries with one constraint rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1259862#M730</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have a constraint rule on a point layer (hypernode) which is supposed to stay on a polygon layer (site_manoeuvre) :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;//get the feature geometry&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;var g1 = Geometry($feature)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;//get the object id&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;var siteMan = $feature.s_site_man&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;//get the entire class &lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;var fsSiteMan_mv = FeatureSetByName($datastore, "dma_test.dma_owner.site_manoeuvre_mv", ['s_historic'], true) &lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;//get the feature joined to the hypernode&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;var Poly = Filter(fsSiteMan_mv, "s_historic = @siteMan")&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;var touche = Touches(g1, Geometry(f))&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;return count(touche) == 1&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My rule run pretty well but when I try to move my polygon with the point together, it returns false.&amp;nbsp;&lt;BR /&gt;I suppose it is because "FeatureSetByName" took the "old" geometry of the polygon.&lt;BR /&gt;Can somebody have an idea on what I can do?&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/346994"&gt;@HusseinNasser2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 16:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1259862#M730</guid>
      <dc:creator>EmelineDedroog</dc:creator>
      <dc:date>2023-02-20T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Moving two geometries with one constraint rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260073#M732</link>
      <description>&lt;P&gt;Each edit is processed independently.&amp;nbsp; So if you move both together, the first one will be processed with its attribute rules, before the next edit is preformed.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 15:46:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260073#M732</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-02-21T15:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Moving two geometries with one constraint rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260110#M733</link>
      <description>&lt;P&gt;Yes so it's not possible to work as I want with attributes rules on the two feature class.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to check if another object is moving "at the same time"?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 16:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260110#M733</guid>
      <dc:creator>EmelineDedroog</dc:creator>
      <dc:date>2023-02-21T16:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Moving two geometries with one constraint rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260166#M734</link>
      <description>&lt;P&gt;As far as I know, no.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 18:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260166#M734</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-02-21T18:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Moving two geometries with one constraint rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260454#M735</link>
      <description>&lt;P&gt;Check out this post. It may help&amp;nbsp;&lt;A href="https://community.esri.com/t5/attribute-rules-questions/attribute-rule-for-polygon-movement-with/m-p/1251163#M722" target="_blank"&gt;https://community.esri.com/t5/attribute-rules-questions/attribute-rule-for-polygon-movement-with/m-p/1251163#M722&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 14:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/moving-two-geometries-with-one-constraint-rule/m-p/1260454#M735</guid>
      <dc:creator>Jake_S</dc:creator>
      <dc:date>2023-02-22T14:07:47Z</dc:date>
    </item>
  </channel>
</rss>

