Select to view content in your preferred language

Renaming subtypes in Table of Contents with arcpy

07-13-2018 08:56 AM
New Contributor II

I know there is the tried and true <for L in layers:if"oldname""newname", but is there a way to rename subtypes?  I am working on a project where I am appending translations onto the subtype names, but I only want to change it in the TOC and not in the data itself.  I know this can be done manually by selecting the subtype in the TOC and typing, but can it be done systematically with arcpy?

0 Kudos
1 Reply
MVP Alum

I don't think it is possible with arcpy.  When you make changes to the TOC without changing the data, the change is saved only in the mxd file.  I'm not sure you could or would want to edit the mxd directly.