Add Subtype Doesn't Work

927
2
08-28-2014 12:29 PM
JordanParfitt
Occasional Contributor

I've tried using Model Builder, The Toolbox, and Python, nothing works.

>>> arcpy.AddSubtype_management('ARG.ABAN_Conduit_Valve', '2', 'asdf')

<Result 'Database Connections\\sde@sdeQA.sde\\ARG.ABANDONED\\ARG.ABAN_Conduit_Valve'>

It say's everything ran successful. When I add in the subtype manually (properties, subtype, enter in subtype) it works fine. I have to add the same subtypes to 12 tables and I'm trying to avoid manually entering them.

What am I doing wrong?

0 Kudos
2 Replies
JordanParfitt
Occasional Contributor

test.png

0 Kudos
XanderBakker
Esri Esteemed Contributor

The help mentions some requirements (ArcGIS Help 10.1 ) but I suppose you have already checked those.

The page also shows some examples in which the sub type field is explicitly set. What happens if you do this?

0 Kudos