ArcGIS Desktop Extract Schema and Domains, using Python

preview_player
Показать описание
Script to extract schema:

def listfileds(src):
fields = arcpy.ListFields(src)
for field in fields:
print("{0} is a type of {1} with a length of {2}"

Script to extract Domains:
import arcpy
...
... def listDomains(src):
...
... for domain in domains:
... print('{0} : {1}'.format(val, desc))

Рекомендации по теме
Комментарии
Автор

thanks for the info, , Keep updating few more, , python related stuffs, , , Again thanks, , ,

MrKrutibas
Автор

Hi, did you tried this minimal code
import arcpy from arcpy import env env.worksapce = "C:/Data" arcpy.ExportReplicaSchema_management("Countries.mdb", "replicaSchema.xml", "MyReplica1")

AbddulRehman
welcome to shbcf.ru