Hi, is there any way to change selection color for a feature layer in Python without setting this using a lyr?
Thank's in advance.
Andrea
You could do a workaround by setting the selection symbol, saving to a .lyr file, and loading the layer and setting the source using arcpy.mapping. This is really the only way to mess with things not exposed as arcpy.mapping object methods.
Ok, so I have no chance to set directly. Thank you for the workaround.
I don't see the selection symbol being exposed in the arcpy.mapping.Layer object. so I guess the answer is No.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.