Geodatabase Table properties
Zusammenfassung
The Describe function returns the following properties for geodatabase tables. The Editor Tracking, Table, and Dataset property groups are also supported.
For a geodatabase table, the Describe dataType property returns a value of "Table".
Eigenschaften
| Eigenschaft | Erläuterung | Datentyp |
|---|---|---|
|
aliasName (Schreibgeschützt) |
The alias name for the table. |
String |
|
defaultSubtypeCode (Schreibgeschützt) |
The default subtype code. |
String |
|
extensionProperties (Schreibgeschützt) |
The properties for the class extension. |
Object |
|
globalIDFieldName (Schreibgeschützt) |
The name of the |
String |
|
hasGlobalID (Schreibgeschützt) |
Indicates whether the table has a |
Boolean |
|
modelName (Schreibgeschützt) |
The model name for the table. |
String |
|
rasterFieldName (Schreibgeschützt) |
The name of the raster field. |
String |
|
relationshipClassNames (Schreibgeschützt) |
The names of the relationship classes that this table participates in. |
String |
|
subtypeFieldName (Schreibgeschützt) |
The name of the subtype field. |
String |
|
versionedView (Schreibgeschützt) |
The name of a versioned view for a versioned feature class. |
String |
Codebeispiel
Geodatabase table properties example
The following stand-alone script displays some properties of a geodatabase table:
import arcpy
# Create a Describe object from the GDB table.
desc = arcpy.Describe("C:/data/chesapeake.gdb/munich")
# 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))