<?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 ArcGIS Pro 2.9 Create Domain, Assign Split and Merge policies not working in Python in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-9-create-domain-assign-split-and/m-p/1181662#M56043</link>
    <description>&lt;P&gt;Since upgrading to ArcGIS Pro 2.9.3, and possibly 2.9, I am unable to assign the split and merge policies in Python when using the Create Domain (Data Management) tool. I have a large script which calls this tool multiple times to set up various domains.&lt;/P&gt;&lt;P&gt;Code sample 1 runs: arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED")&lt;/P&gt;&lt;P&gt;Code sample 2 does not run:&amp;nbsp;arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED", "DUPLICATE", "AREA_WEIGHTED")&lt;/P&gt;&lt;P&gt;Error message:&amp;nbsp;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000800: The value is not a member of Use the attribute's default value.&lt;/P&gt;&lt;P&gt;Duplicate and Area Weighted are both valid parameters according to the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-domain.htm" target="_self"&gt;tool reference page&lt;/A&gt;. Any help trouble shooting this will be helpful.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2022 22:59:47 GMT</pubDate>
    <dc:creator>JonZetterberg1</dc:creator>
    <dc:date>2022-06-09T22:59:47Z</dc:date>
    <item>
      <title>ArcGIS Pro 2.9 Create Domain, Assign Split and Merge policies not working in Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-9-create-domain-assign-split-and/m-p/1181662#M56043</link>
      <description>&lt;P&gt;Since upgrading to ArcGIS Pro 2.9.3, and possibly 2.9, I am unable to assign the split and merge policies in Python when using the Create Domain (Data Management) tool. I have a large script which calls this tool multiple times to set up various domains.&lt;/P&gt;&lt;P&gt;Code sample 1 runs: arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED")&lt;/P&gt;&lt;P&gt;Code sample 2 does not run:&amp;nbsp;arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED", "DUPLICATE", "AREA_WEIGHTED")&lt;/P&gt;&lt;P&gt;Error message:&amp;nbsp;arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000800: The value is not a member of Use the attribute's default value.&lt;/P&gt;&lt;P&gt;Duplicate and Area Weighted are both valid parameters according to the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-domain.htm" target="_self"&gt;tool reference page&lt;/A&gt;. Any help trouble shooting this will be helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 22:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-9-create-domain-assign-split-and/m-p/1181662#M56043</guid>
      <dc:creator>JonZetterberg1</dc:creator>
      <dc:date>2022-06-09T22:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro 2.9 Create Domain, Assign Split and Merge policies not working in Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-9-create-domain-assign-split-and/m-p/1181676#M56044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in code sample 2, you can't have "Area_WEIGHTED" on the Coded domain. it's only applied to the range domain.&lt;/P&gt;&lt;P&gt;check the reference page ... "&lt;SPAN&gt;The area weighted policy only applies to range domains."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 23:38:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-2-9-create-domain-assign-split-and/m-p/1181676#M56044</guid>
      <dc:creator>e_mcc</dc:creator>
      <dc:date>2022-06-09T23:38:16Z</dc:date>
    </item>
  </channel>
</rss>

