arcgis python获得别名
阅读原文时间:2023年07月10日阅读:3

import arcpy

Create a Describe object from the GDB table.

desc = arcpy.Describe(r"C:\Users\dell\Documents\ArcGIS\Default.gdb\dltb")

Print GDB Table properties

print "%-22s %s" % ("AliasName:", desc.aliasName)
print "%-22s %s" % ("DefaultSubtypeCode:", desc.defaultSubtypeCode)
print "%-22s %s" % ("GlobalIDFieldName:", desc.globalIDFieldName)
print "%-22s %s" % ("ModelName:", desc.modelName)
print "%-22s %s" % ("RasterFieldName:", desc.rasterFieldName)
print "%-22s %s" % ("RelationshipClassNames:", desc.relationshipClassNames)