Assume I have a point layer called "pointlayer" loaded in my active map (ArcGIS Pro). I set its symbology to a single symbol/color for all points.
I can discover symbology properties by layer easily using Python:
p <SPAN class="operator token">=</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>mp<SPAN class="punctuation token">.</SPAN>ArcGISProject<SPAN class="punctuation token">(</SPAN><SPAN class="string token">'CURRENT'</SPAN><SPAN class="punctuation token">)</SPAN>
m <SPAN class="operator token">=</SPAN> p<SPAN class="punctuation token">.</SPAN>activeMap
l <SPAN class="operator token">=</SPAN> m<SPAN class="punctuation token">.</SPAN>listLayers<SPAN class="punctuation token">(</SPAN><SPAN class="string token">'pointlayer'</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">]</SPAN>
sym <SPAN class="operator token">=</SPAN> l<SPAN class="punctuation token">.</SPAN>symbology
<SPAN class="keyword token">print</SPAN><SPAN class="punctuation token">(</SPAN>sym<SPAN class="punctuation token">.</SPAN>renderer<SPAN class="punctuation token">.</SPAN>symbol<SPAN class="punctuation token">.</SPAN>color<SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">## Result: {'RGB': [76, 230, 0, 100]}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Plain sailing. However, how would I discover symbol properties per feature? The documentation examples have only to do with updating a layer's symbology. However, I'd like to use Python to report RGBA values for each feature in a layer, once a user has already styled it with ArcGIS Pro.