arcpy_env: ArcPy Environment

Description Usage Arguments Value See Also Examples

View source: R/buildenv.r

Description

Create an environment that contains ArcPy function interfaces.

Usage

1
arcpy_env(tool.list, env.list)

Arguments

tool.list

A list of tools from the toolbox to expose. If NULL, all tools in the toolbox will be exposed.

env.list

A list of geoprocessing environment settings to expose. If NULL, all environment settings will be exposed.

Value

An environment object containing arcpy tools and environment settings.

See Also

connect_ArcGIS

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
arcpy = arcpy_env()
ls(arcpy)

arcpy$Delete_management(path_to_file)

arcpy = arcpy_env(list("Delete_management", "Clip_anaylsis"))
ls(arcpy)

ls(arcpy$env)
arcpy$env$workspace("path_to_workspace")

## End(Not run)

mkoohafkan/arcpyr documentation built on May 23, 2019, 2:01 a.m.