chargermain

ExtractValuesToPoints problem

Discussion created by chargermain on Jun 11, 2012
Latest reply on Jun 12, 2012 by mzcoyle
Hello,
I can use the interface friendly version and extract the values but I need to automate things in Python. When I follow the Help example, I get an error message
Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. ("esri.SimpleDataConverter") Create output feature class failed ERROR 010024: Error during conversion. Failed to execute (ExtractValuesToPoints)

Anyone can help me with what is going on ? Maybe give me an example of a Python command for this tool ?
Thank you
Charlotte

code:

import arcpy
>>> from arcpy import env
>>> from arcpy.sa import *
>>> env.workspace = "C:/Users/Burleigh Lab/Desktop/2050Maps"
>>> ExtractValuesToPoints ("10000Points_lyr.shp", "forestacumina", "C:\Users\Burleigh Lab\Desktop\2050Maps\trial13.shp","NONE","VALUE_ONLY")
Runtime error <class 'arcgisscripting.ExecuteError'>: ERROR 999999: Error executing function. ("esri.SimpleDataConverter") Create output feature class failed ERROR 010024: Error during conversion. Failed to execute (ExtractValuesToPoints).

Outcomes