AnsweredAssumed Answered

Help Creating TIN with Python Script

Question asked by geohaskett on Dec 4, 2012
Latest reply on Aug 23, 2013 by SWalbridge-esristaff

For some reason when I cannot get the following script to work:

# Import primary modules
import arcpy, sys, os, traceback
from arcpy import env

# Set Variables
inTinA_features = arcpy.GetParameterAsText(0)
out_TinA = arcpy.GetParameterAsText(1)
spatial_ref = arcpy.GetParameterAsText(2)

# Create TIN
arcpy.CreateTin_3d(out_TinA, spatial_ref, "inTinA_features Elev_Obs masspoints <None>", "DELAUNAY")

The script was stripped down to the bare bones, but still is not functioning.
I am using Python 2.7 with ArcGIS ArcInfo 10.1.

The error I get is as follows:

Traceback (most recent call last):
File "C:\Users\George\Documents\ArcGIS\v2\ProGIS_Project\", line 11, in <module>
arcpy.CreateTin_3d(out_TinA, spatial_ref, "inTinA_features Elev_Obs masspoints <None>", "DELAUNAY")
File "c:\program files (x86)\arcgis\desktop10.1\arcpy\arcpy\", line 1683, in CreateTin
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of <None>.
Failed to execute (CreateTin).

Failed to execute (createtin).

Thanks in advance,