Select to view content in your preferred language

Alter domain deletes domain if another alter domain command is used after the first one.

09-06-2023 03:20 AM
New Contributor III

Hi all,

Something very strange.

I have a FGDB with a lots of domains.

I want to alter some of them using alfter domain command in arcpy.

If I run the command first time for domain 1, it changes it OK.

Then  if I run the command again for domain 2, it changes it OK, but domain 1 is deleted from the list of domain.

Any next run of the command for domain 3, 4, 5, etc, changes them OK, and leaves all previous changed domains there.

So only domain 1 get deleted. Sam behaviour if run as stand alone python script or in arcgis pro python, command by command.

Any ideas?

0 Kudos
0 Replies