Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I succesfully wrote a script to render a Uniquevaluerenderer in a layer in ArcMAP using symbols from 4 parameters (values) read from the attribute table of the layer. I used ArcObjects and VBA, but with VBA support being discontinued in ArcGIS 10 I now want to convert this script using Python. Can anyone suggest some pointers or sample code.

share|improve this question

1 Answer

Since ArcGIS 10.1, you can use UniqueValueSymbology to edit it. Please follow ArcGIS Help 10.1 UniqueValuesSymbology section http://resources.arcgis.com/en/help/main/10.1/index.html#/UniqueValuesSymbology/00s30000005s000000/
However, Arcpy doesn't implement all of ArcObjects functions such as change to UniqueValueRenderer from the other renderers, and change each values symbol. So, If you have source code written in VBA and its works, then better way is migration it to ArcMap Addin. For more information, please follow bellow topic. http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Building_add_ins_for_ArcGIS_Desktop/0001000000w2000000/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.