I am using "arcpy.Contour_3d" and get an error, and review in detail the parameters and apparently all is well I hope you can help me
thank you very much
I get:
File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\ddd.py", line 3612, in Contour
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed.
Failed to execute (Contour).
thank you very much
Code:
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# test contours.py
# Created on: 2012-11-16 14:51:29.00000
# (generated by ArcGIS/ModelBuilder)
# Description:
# ---------------------------------------------------------------------------
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("3D")
# Local variables:
sde_SDE_time0__3_ = "Database Connections\\Coneccion local SDE.sde\\sde.SDE.time0"
time1 = "Database Connections\\Coneccion local SDE.sde\\time1"
# Process: Contour
arcpy.Contour_3d(sde_SDE_time0__3_, time1, "2", "0", "1")I get:
File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\ddd.py", line 3612, in Contour
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed.
Failed to execute (Contour).