<?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 Attribute rule in python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024864#M59883</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Is there any way how to set attribute rule using python expression instead of Arcade???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 14:22:20 GMT</pubDate>
    <dc:creator>kirken</dc:creator>
    <dc:date>2021-02-09T14:22:20Z</dc:date>
    <item>
      <title>Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024864#M59883</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Is there any way how to set attribute rule using python expression instead of Arcade???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 14:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024864#M59883</guid>
      <dc:creator>kirken</dc:creator>
      <dc:date>2021-02-09T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024876#M59885</link>
      <description>&lt;P&gt;Well yes and no.&lt;/P&gt;&lt;P&gt;You can use a python script to use an Arcade expression.&amp;nbsp; See the example here&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-attribute-rule.htm" target="_blank"&gt;Add Attribute Rule (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 14:45:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024876#M59885</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-02-09T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024906#M59886</link>
      <description>&lt;P&gt;Is that actually used to fire a rule or just add one?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 15:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024906#M59886</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2021-02-09T15:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024909#M59887</link>
      <description>&lt;P&gt;both... python is the delivery... attribute rule is the package&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt; Like Amazon (python home range)&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 15:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1024909#M59887</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-02-09T15:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1025176#M59893</link>
      <description>&lt;P&gt;Ok. I meant more like writing the&amp;nbsp;&lt;SPAN&gt;script expression of the rule in python because it is quite complicated and currently uses some python libraries but I&amp;nbsp; guess i have to learn that arcade now..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 06:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1025176#M59893</guid>
      <dc:creator>kirken</dc:creator>
      <dc:date>2021-02-10T06:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1025283#M59894</link>
      <description>&lt;P&gt;I don't think arcade imports python libraries&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 12:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1025283#M59894</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-02-10T12:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1026611#M59957</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/422589"&gt;@kirken&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To confirm Dan's suspicion, Attribute Rules will only work with Arcade expressions. You cannot create an attribute rule using Python as the expression. The link shared by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;before uses Python to configure the Attribute Rule, but inside it is still using the Arcade expression defined as a string inside the Python script.&lt;/P&gt;&lt;P&gt;In short, if you want to use Attribute Rules you will always need Arcade...&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2021 22:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1026611#M59957</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-02-13T22:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute rule in python</title>
      <link>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1271234#M67203</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;looking for a way to use Attribute Rules to refresh lat/long fields after a point is moved. Right now we must do this manually with Calculate Geometry tool, and I am seeing it is possible to do it with Python, but I can't use Python to calc an Attribute Rule. I also can't use Arcade to translate into lat/long unless it is in Web Mercator... (we are using State Plane).... thoughts anyone?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 00:17:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/attribute-rule-in-python/m-p/1271234#M67203</guid>
      <dc:creator>BrittanyBurson</dc:creator>
      <dc:date>2023-03-24T00:17:59Z</dc:date>
    </item>
  </channel>
</rss>

