Show Navigation | Hide Navigation
You are here:
Geoprocessing > Automating your work with scripts > Scripting object: Properties and Methods > Properties and Methods

Describe method

Release 9.3
Last modified January 19, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Properties and Methods"


Related Topics

Note: This topic was updated for 9.3.1.

Similar to the ArcInfo Describe command, the Describe method details properties, such as type, name, spatial reference, domains, and versioning, for Data Elements such as FeatureClasses, Tables, GeoDatasets, Coverage FeatureClasses, Datasets, RelationshipClasses, Files, Layers, and Workspaces, as well as geoprocessing objects such as TableViews and FeatureLayers.

Syntax


object.Describe(inputValue As String) As Object

Part Description
object The instantiated geoprocessing object.
inputValue The name of the DataElement, or GPObject, to be described. If the workspace is not set, you must include the path as well as the name.


Objects



Cad Drawing Dataset
Coverage
Coverage FeatureClass
Dataset
FeatureClass
GDB FeatureClass
Describe (This object's properties apply to all types of data.)
Geometric Network
Layer
Network Dataset
Network Analysis Layer
Prj File
Raster Band
Raster Catalog
Raster Dataset
RelationshipClass
RepresentationClass
Table
GDB Table
TableView
Tin
Topology
Workspace

Examples



import arcgisscripting
gp = arcgisscripting.create(9.3)		

gp.workspace = "c:\\temp\\buffer.mdb"

fc = "roads2"

dsc = gp.describe(fc)
print "Describing:", fc

print "FeatureType: \n" + str(dsc.FeatureType)
print "TopologyName: \n" + str(dsc.TopologyName)
print "HasM: \n" + str(dsc.HasM)
print "HasZ: \n" + str(dsc.HasZ)
print "HasSpatialIndex: \n" + str(dsc.HasSpatialIndex)
print "ShapeFieldName: \n" + str(dsc.ShapeFieldName)
print "ShapeType: \n" + str(dsc.ShapeType)


Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.