Modify the environment-settings by using arcobject c#

775
2
05-15-2019 01:39 AM
DharmaRajan
Occasional Contributor

Hi All,

How to modify the existing/active environment-setting by using arcobject C#(For example: ProcessingExtent = 'as specified below'). Kindly suggest.

0 Kudos
2 Replies
GKmieliauskas
Esri Regular Contributor

Hi Dharma,

If you mean GeoProcessor using, then before calling Execute method you can set environment variables using SetEnvironmentValue method. Sample here:

https://idea.isnew.info/how-to-use-the-geoprocessor-using-arcobjects.html

0 Kudos
DharmaRajan
Occasional Contributor

Hi Gintautas Kmieliauskas,

If you mean GeoProcessor using, then before calling Execute method you can set environment variables using SetEnvironmentValue method

No.

I want to update the existing environment variables. So that all the GeoProcessing tools (invoked through code or manually) within that particular session will execute based on that.

0 Kudos