Hi,
I'm trying to write a python script that will print the name of a raster dataset to screen. I copied the example code from the Desktop Help and changed the raster object to match the path to my dataset:
import arcgisscripting
gp = arcgisscripting.create()
raster = "C:\data_all\AltLatGrids\ArcGISGrids\alb8__22"
# Create a describe object
#
desc = gp.Describe(raster)
# Print the RasterFieldName property
#
print desc.RasterFieldName
When I ran the script I received the error message "Method RasterFieldName does not exist". I am using ArcGIS 9.3 with an ArcInfo license, and Python 2.5.4.
Any help gratefully received!
Kate.