Select to view content in your preferred language

Deleting a field where subtype was removed

609
11
Jump to solution
03-07-2024 02:02 PM
ScottFortman1
New Contributor III

Hi there,

so we want to remove a subtype from a field and create a new field with a domain that has the same values we use in the subtyped field.  I used the remove subtype geoprocessing tool,it seemed to worked fine.  I create a new field and calculated the values from the old subtyped field over, all is well.  I am trying to delete the old field now and am unable to do it.  Does anybody know how to do it, if even possible?  Thanks for any advice!

0 Kudos
11 Replies
LaurensKusse_hhdelfland
New Contributor II

Is there also a way to do the "Clear all subtypes" action with arcpy? 

I used arcpy.management.RemoveSubtype to remove all subtypes, but then the field is still showing with an asterix and bold.  Only when I go to Subtypes > Create/Manage > "select Clear all subtype...", the subtypes are really gone and the field is showing as other fields.

It seems strange that this can't be achieved by removing all subtypes using arcpy.management.RemoveSubtype.

 

0 Kudos
RhettZufelt
MVP Notable Contributor

Will be a sad day when good old ArcCatalog goes away.....

0 Kudos