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:
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/...0000000r000000) 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
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:
Quote:
AttributeError: DescribeData spatialReference method does not exist
Here is the very simple code I use:
Code:
import arcpy
from arcpy import env
env.workspace = "C:/temp/"
tin = "C:/temp/test"
SR = arcpy.Describe(tin).spatialReferenceIn ArcGIS 10.1 Help (http://resources.arcgis.com/en/help/...0000000r000000) there is the following statement :
Quote:
The Describe function returns the following properties for TINs. Dataset Properties are also supported.
A TIN returns a dataType of "Tin".
Best regards