<?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 Why is the arcpy script for symbology rendering color and color outline for GraduatedColorRendering and SimpleRendering the same? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/why-is-the-arcpy-script-for-symbology-rendering/m-p/1221353#M65840</link>
    <description>&lt;P&gt;I noticed that the arcpy script to change the symbol outline for symbology rendering does not work in ArcGIS Pro v. 2.8. Using the python console to troubleshoot my python script, I realized that&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if sym.renderer.type == 'SimpleRenderer':
  sym.renderer.symbol.color = {'RGB' : [0, 0, 0, 0]}} 
  sym.renderer.symbol.outlineColor = {'RGB' : 0, 0,0, 0]}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;will change the color of the point symbol, but not the point symbol outline. The same for the graduated color rendering,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;for brk in sym.renderer.classBreaks:
    brk.symbol.outlineColor = {'RGB' : [0,0,0,0]}
    brk.symbol.color  = {'RGB':[0,0,0,0]}&lt;/LI-CODE&gt;&lt;P&gt;It doesn't matter what color RGB I change it, the outlineColor and color will only result in the symbol color change. The outline color does not work. I was wondering if there is a way around this without using applysymbologyfromlayer gp tool ? I have script to create a customized my graduate color rendering and using the tool will change my graduate color rendering. Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 23:49:08 GMT</pubDate>
    <dc:creator>tzz_12</dc:creator>
    <dc:date>2022-10-12T23:49:08Z</dc:date>
    <item>
      <title>Why is the arcpy script for symbology rendering color and color outline for GraduatedColorRendering and SimpleRendering the same?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-the-arcpy-script-for-symbology-rendering/m-p/1221353#M65840</link>
      <description>&lt;P&gt;I noticed that the arcpy script to change the symbol outline for symbology rendering does not work in ArcGIS Pro v. 2.8. Using the python console to troubleshoot my python script, I realized that&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;if sym.renderer.type == 'SimpleRenderer':
  sym.renderer.symbol.color = {'RGB' : [0, 0, 0, 0]}} 
  sym.renderer.symbol.outlineColor = {'RGB' : 0, 0,0, 0]}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;will change the color of the point symbol, but not the point symbol outline. The same for the graduated color rendering,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;for brk in sym.renderer.classBreaks:
    brk.symbol.outlineColor = {'RGB' : [0,0,0,0]}
    brk.symbol.color  = {'RGB':[0,0,0,0]}&lt;/LI-CODE&gt;&lt;P&gt;It doesn't matter what color RGB I change it, the outlineColor and color will only result in the symbol color change. The outline color does not work. I was wondering if there is a way around this without using applysymbologyfromlayer gp tool ? I have script to create a customized my graduate color rendering and using the tool will change my graduate color rendering. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 23:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-the-arcpy-script-for-symbology-rendering/m-p/1221353#M65840</guid>
      <dc:creator>tzz_12</dc:creator>
      <dc:date>2022-10-12T23:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the arcpy script for symbology rendering color and color outline for GraduatedColorRendering and SimpleRendering the same?</title>
      <link>https://community.esri.com/t5/python-questions/why-is-the-arcpy-script-for-symbology-rendering/m-p/1221358#M65841</link>
      <description>&lt;P&gt;Did you see the code sample here for potentially missing code bits&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/symbol-class.htm" target="_blank"&gt;Symbol—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 00:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/why-is-the-arcpy-script-for-symbology-rendering/m-p/1221358#M65841</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-10-13T00:22:38Z</dc:date>
    </item>
  </channel>
</rss>

