AnsweredAssumed Answered

Erase GP

Question asked by mr_nemani on Jan 13, 2016
Latest reply on Jan 19, 2016 by jamesfreddyc

Hi,

 

I created a simple GP and published as GP service, i executed the service using submit job, but nothing happen's

 

import arcpy

try:   

    arcpy.env.overwriteOutput = True

    arcpy.env.workspace = "C:\\geometry\\test.gdb"

    polygonFC = "drawPoly"

    eraseFC = "testFC"

    outFC = "outFC"

    singlePart ="outputSP"   

    arcpy.Erase_analysis(polygonFC,eraseFC,outFC)   

    arcpy.MultipartToSinglepart_management(outFC,singlePart)

except:   

  error = arcpy.GetMessages() 

 

where am i'm i going wrong.

Outcomes