<?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 ArcPro: Attributes disappearing when symbology changed to Unique Values but don't re-appear when changed back to Single Symbol. in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/arcpro-attributes-disappearing-when-symbology/m-p/876933#M657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a shapefile called (AOI) with multiple AOI's and wanted to colour them by ID so that they were all different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject('current')&lt;/P&gt;&lt;P&gt;m = aprx.activeMap&lt;/P&gt;&lt;P&gt;AOI = m.listLayers('AOI')[0]&lt;/P&gt;&lt;P&gt;sym = AOI.symbology&lt;/P&gt;&lt;P&gt;sym.updateRenderer('UniqueValueRenderer')&lt;/P&gt;&lt;P&gt;colorRamp = aprx.listColorRamps("Cyan to Purple")[0]&lt;/P&gt;&lt;P&gt;sym.renderer.colorRamp = colorRamp&lt;/P&gt;&lt;P&gt;AOI.symbology = sym&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried doing this manually as well and the same problem occurs. They also do not re-appear when I change the symbology back to Single Symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jan 2020 13:02:37 GMT</pubDate>
    <dc:creator>KatieJ</dc:creator>
    <dc:date>2020-01-30T13:02:37Z</dc:date>
    <item>
      <title>ArcPro: Attributes disappearing when symbology changed to Unique Values but don't re-appear when changed back to Single Symbol.</title>
      <link>https://community.esri.com/t5/python-snippets-questions/arcpro-attributes-disappearing-when-symbology/m-p/876933#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a shapefile called (AOI) with multiple AOI's and wanted to colour them by ID so that they were all different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used:&lt;/P&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject('current')&lt;/P&gt;&lt;P&gt;m = aprx.activeMap&lt;/P&gt;&lt;P&gt;AOI = m.listLayers('AOI')[0]&lt;/P&gt;&lt;P&gt;sym = AOI.symbology&lt;/P&gt;&lt;P&gt;sym.updateRenderer('UniqueValueRenderer')&lt;/P&gt;&lt;P&gt;colorRamp = aprx.listColorRamps("Cyan to Purple")[0]&lt;/P&gt;&lt;P&gt;sym.renderer.colorRamp = colorRamp&lt;/P&gt;&lt;P&gt;AOI.symbology = sym&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried doing this manually as well and the same problem occurs. They also do not re-appear when I change the symbology back to Single Symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 13:02:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/arcpro-attributes-disappearing-when-symbology/m-p/876933#M657</guid>
      <dc:creator>KatieJ</dc:creator>
      <dc:date>2020-01-30T13:02:37Z</dc:date>
    </item>
  </channel>
</rss>

