Select to view content in your preferred language

How to clear a subtype field using python

514
3
04-21-2023 07:48 PM
SAMIRMOURAD
New Contributor

Hello,

Is there a function like RemoveDomainFromField but for subtypes ? Or a function that allows us to clear the field of a subtype ? 
Thank you

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

Do you mean?

Remove Subtype (Data Management)—ArcGIS Pro | Documentation

or are you looking for the new SUBTYPE@ functionality in cursors?

UpdateCursor—ArcGIS Pro | Documentation


... sort of retired...
0 Kudos
SAMIRMOURAD
New Contributor

Let's say that in the exemple below, In Utility Access Type, I would like to remove the link to Domain.
I want to empty the the default value and the domain for AcessType in Utility. I know that I can do it directly on this table, but is there a way of doing it using a pyhton script ?

Thanks

 
 

GUID-8BBDD82A-B8FD-4698-99E2-2498500A408E-web

0 Kudos
SAMIRMOURAD
New Contributor

any suggestions ? 

0 Kudos