Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(43)  |  Call(43)  |  Derive(0)  |  Import(0)

src/a/r/arcapi-HEAD/arcapi.py   arcapi(Download)
    lr = "chart" + tstamp(tf = "%H%M%S")
    if arcpy.Exists(lr) and arcpy.Describe(lr).dataType in ('FeatureLayer', 'RasterLayer'):
        arcpy.Delete_management(lr)
    if "raster" in dtype.lower():
        arcpy.MakeRasterLayer_management(x, lr)
 
    # cleanup
    arcpy.Delete_management(lr)
    del mxd
    if todel: arcpy.Delete_management(todel[0])
    deletted = False
    if arcpy.Exists(x):
        arcpy.Delete_management(x)
        deletted = True
    return deletted
        temp = os.path.join(_dir, 'rast_copyxxx')
        if arcpy.Exists(temp):
            arcpy.Delete_management(temp)
        arcpy.CopyRaster_management(in_raster, temp)
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/FM5-33CCM.py   defense-and-intel-analysis-toolbox(Download)
        if debug == True: arcpy.AddMessage("Removing: " + str(i))
        if arcpy.Exists(i):
            arcpy.Delete_management(i)
    if debug == True: arcpy.AddMessage("Done")
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOS.py   defense-and-intel-analysis-toolbox(Download)
    for ds in delete_me:
        arcpy.AddMessage(str(ds))
        arcpy.Delete_management(ds)
 
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/Trajectory_Path.py   defense-and-intel-analysis-toolbox(Download)
        arcpy.AddMessage("removing: " + str(junk))
       if arcpy.Exists(junk):
        arcpy.Delete_management(junk)
 
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RLOSdebug.py   defense-and-intel-analysis-toolbox(Download)
    for ds in delete_me:
        arcpy.AddMessage(str(ds))
        arcpy.Delete_management(ds)
    # reset overwrite environment to what it was before 
    env.overwriteOutput = currentOverwriteOutput

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RasterOffRoad.py   defense-and-intel-analysis-toolbox(Download)
        if debug == True: arcpy.AddMessage("Removing: " + str(i))
        if arcpy.Exists(i):
            arcpy.Delete_management(i)
            pass
    if debug == True: arcpy.AddMessage("Done")

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/LLOSProfileGraphAttachments.py   defense-and-intel-analysis-toolbox(Download)
    for ds in deleteme:
        if arcpy.Exists(ds):
            arcpy.Delete_management(ds)
            if debug == True: arcpy.AddMessage(str(ds))
 

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/RangeRings2.py   defense-and-intel-analysis-toolbox(Download)
    for ds in delete_me:
        arcpy.AddMessage(str(ds))
        arcpy.Delete_management(ds)
 
    env.overwriteOutput = currentOverwriteOutput

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/ConvertCoordinates.py   defense-and-intel-analysis-toolbox(Download)
    for ds in delete_me:
        arcpy.AddMessage(str(ds))
        arcpy.Delete_management(ds)
 
    env.overwriteOutput = currentOverwriteOutput

src/d/e/defense-and-intel-analysis-toolbox-HEAD/toolboxes/scripts/CreateRangeFanBoxes.py   defense-and-intel-analysis-toolbox(Download)
    for i in deleteme:
        if debug == True: arcpy.AddMessage("Removing: " + str(i))
        arcpy.Delete_management(i)
    if debug == True: arcpy.AddMessage("Done")

  1 | 2 | 3 | 4  Next