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
if sym.renderer.type == 'SimpleRenderer':
sym.renderer.symbol.color = {'RGB' : [0, 0, 0, 0]}}
sym.renderer.symbol.outlineColor = {'RGB' : 0, 0,0, 0]}
will change the color of the point symbol, but not the point symbol outline. The same for the graduated color rendering,
for brk in sym.renderer.classBreaks:
brk.symbol.outlineColor = {'RGB' : [0,0,0,0]}
brk.symbol.color = {'RGB':[0,0,0,0]}
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!
Did you see the code sample here for potentially missing code bits
Symbol—ArcGIS Pro | Documentation