Arcgis can give such a headache! I want to automate loads of small tasks, and so I need to edit empty TIN with python in order to create a full TIN. My srcript is giving errors, so I tried by hand to make it work with ModelBuilder AND EditTIN IT WORKS FINE!!!!
Exported the same Model (that just worked) as python script gives errors!
# Local variables...
raster = "F:\\...\\mClip_1"
raster_InterpolateShape = "F:\\...\\mClip_1_InterpolateShape"
# Process: Edit TIN...
gp.EditTin_3d(raster, "raster_InterpolateShape Shape <None> softline true")
and the error message:
Traceback (most recent call last):
File "F:\....\test_editTin.py", line 26, in <module>
gp.EditTin_3d(raster, "raster_InterpolateShape Shape <None> softline true")
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of <None>.
ERROR 000800: The value is not a member of %s.
ERROR 000800: The value is not a member of %s.
ERROR 000800: The value is not a member of %s.
Failed to execute (EditTin).
All extensions and everything is checked since it is exported from model builder. I suppose something wrong is just with first shp input
In ArcgisHelp ex for the input 3d shp name it shows the name with extension
..."masspntz.shp Shape <None> masspoints true"
And so I tried both, with extension and without, but the same errors come.
Any ideas, how can I get that TIN from feature automatically.. ???
