GDB FeatureClass properties
Summary
The Describe function returns the following properties for Geodatabase Feature Classes. FeatureClass Properties, GDB Table Properties, Table Properties, and Dataset Properties are also supported.
A Geodatabase Feature Class returns a dataType of "FeatureClass".
Properties
| Property | Explanation | Data Type |
| areaFieldName (Read Only) |
The name of the geometry area field. | String |
| lengthFieldName (Read Only) |
The name of the geometry length field. | String |
| representations (Read Only) | A list of Describe objects for the representations associated with the feature class. | Object |
Code Sample
GDB FeatureClass properties example (stand-alone script)
The following stand-alone script displays the GDB FeatureClass properties.
import arcpy
# Create a Describe object from the GDB Feature Class
#
desc = arcpy.Describe("C:/data/chesapeake.gdb/chesapeake/bayshed_1")
# Print GDB FeatureClass properties
#
print "Area Field Name : " + desc.areaFieldName
print "Length Field Name: " + desc.lengthFieldName
10/28/2011