Select to view content in your preferred language

gp.Describe() on sde table

506
1
02-25-2011 11:31 AM
GregHorch
New Contributor III
at 9.3.1 the following code works fine:

fcList = gp.ListFeatureClasses()
for fc in fcList:
    descFC = gp.Describe(fc)
    print "FC Name: " + fc + ", Path: " + descFC.CatalogPath

tblList = gp.ListTables()
for table in tblList:
    print table


but trying to use Describe on the tables fails:

tblList = gp.ListTables()
for table in tblList:
    print table
    descTBL = gp.Describe(table)
    print descTBL.CatalogPath


what am I missing?
Tags (2)
0 Kudos
1 Reply
MarkZollinger
Esri Contributor
What line fails (listTables, Describe, or CatalogPath)?
What error does it throw?
What does your arcpy.env.workspace look like?
0 Kudos