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.
I don't see the selection symbol being exposed in the arcpy.mapping.Layer object. so I guess the answer is No.
Ok, so I have no chance to set directly. Thank you for the workaround.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.