kullingb

Bug with TIN properties (arcpy) ?

Discussion created by kullingb on Jul 26, 2013
Latest reply on Aug 8, 2013 by kullingb
Hello everyone,

I'm stuck with an annoying error, when I try to make use of TIN properties in the Python window in ArcCatalog, I have the following message:

AttributeError: DescribeData spatialReference method does not exist


(The original output is in french, the actual english version may differ)

Here is the very simple code I use:

import arcpy
from arcpy import env
env.workspace = "C:/temp/"
tin = "C:/temp/test"
SR = arcpy.Describe(tin).spatialReference


Does anyone see an obvious mistake here? I'm VERY new to python scripting in ArcGIS :)

In ArcGIS 10.1 Help (http://resources.arcgis.com/en/help/main/10.1/index.html#//018v0000000r000000) there is the following statement :

The Describe function returns the following properties for TINs. Dataset Properties are also supported.
A TIN returns a dataType of "Tin".


I'm running ArcGIS Desktop Basic 10.1 (SP1) on Windows 7 Pro 64-bit ; and I've manually added C:\Python27\ArcGIS10.1 in PATH.

Best regards

Outcomes