Horje
arcpy select visible raster Code Example
arcpy select visible raster
import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd, "*")[0]     # grab 1st dataframe in map
#df = arcpy.mapping.ListDataFrames(mxd, "Main")[0] # grab dataframe named 'Main'
arcpy.MakeMosaicLayer_management(
    'Orthophotos',  # input mosaic
    'test_mosaic',  # output mosaic
    '#',            # Optional WHERE clause
    df.extent       # clipping box coordinates
    )




Python

Related
derivative of multivariable function pytorch Code Example derivative of multivariable function pytorch Code Example
how to use group by in python to get 15 mins candle data from 1 min candle Code Example how to use group by in python to get 15 mins candle data from 1 min candle Code Example
resize a Turtle object Code Example resize a Turtle object Code Example
python enforcing class variables in subclass Code Example python enforcing class variables in subclass Code Example
ist comperension python Code Example ist comperension python Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7