<?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 How to use Random Basic for UniqueValueRenderer in Python for ArcGIS Pro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1273131#M67290</link>
    <description>&lt;P&gt;I am using the arcpy code from&amp;nbsp;&lt;A href="https://support.esri.com/en/Technical-Article/000026861" target="_blank"&gt;How To: Sort unique value symbology classes using values from a second field in ArcGIS Pro (esri.com)&lt;/A&gt;.&amp;nbsp; Instead of using the colorRamp, how do I use a color scheme such as "Random Basic" that is available in the symbology pane in ArcGIS Pro?&amp;nbsp;I am symbolizing lines and sorting routes by their importance using another field other than the one I want to use for the symbol label.&lt;/P&gt;&lt;P&gt;Please point me to the reference page(s).&amp;nbsp; Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2023 16:22:22 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2023-03-29T16:22:22Z</dc:date>
    <item>
      <title>How to use Random Basic for UniqueValueRenderer in Python for ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1273131#M67290</link>
      <description>&lt;P&gt;I am using the arcpy code from&amp;nbsp;&lt;A href="https://support.esri.com/en/Technical-Article/000026861" target="_blank"&gt;How To: Sort unique value symbology classes using values from a second field in ArcGIS Pro (esri.com)&lt;/A&gt;.&amp;nbsp; Instead of using the colorRamp, how do I use a color scheme such as "Random Basic" that is available in the symbology pane in ArcGIS Pro?&amp;nbsp;I am symbolizing lines and sorting routes by their importance using another field other than the one I want to use for the symbol label.&lt;/P&gt;&lt;P&gt;Please point me to the reference page(s).&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 16:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1273131#M67290</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-03-29T16:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Random Basic for UniqueValueRenderer in Python for ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1273499#M67303</link>
      <description>&lt;P&gt;That method, p.listColorRamps() gets all colors that are in the project if you remove the wildcard.&amp;nbsp; From there, you can see the names of available color styles:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;colors = p.listColorRamps()

for color in colors:
    print(f'color name: {color.name}')

...
color name: Accent (8 Classes)
color name: Aspect
color name: Basic Random
color name: Bathymetric Scale
color name: Bathymetry #1
color name: Bathymetry #2
color name: Bathymetry #3
color name: Bathymetry #4
...&lt;/LI-CODE&gt;&lt;P&gt;Your basic random is listed there... but since you are&amp;nbsp; you should be able to just use 'Basic Random'&lt;/P&gt;&lt;LI-CODE lang="python"&gt;colorRamp = p.listColorRamps("Basic Random")[0]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 13:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1273499#M67303</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-03-30T13:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Random Basic for UniqueValueRenderer in Python for ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1276360#M67369</link>
      <description>&lt;P&gt;That worked.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 20:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-use-random-basic-for-uniquevaluerenderer-in/m-p/1276360#M67369</guid>
      <dc:creator>LoriEmersonKDOT</dc:creator>
      <dc:date>2023-04-06T20:29:58Z</dc:date>
    </item>
  </channel>
</rss>

