Is there any way to stop Geoprocessing adding the results to the current map (like 10.x)?

3217
3
Jump to solution
08-21-2015 03:28 AM
AdamDavis
Occasional Contributor

Thanks

Adam

0 Kudos
1 Solution

Accepted Solutions
DrewFlater
Esri Regular Contributor

You cannot set this option specifically for geoprocessing. However you can set a mapping option so that newly added layers are not visible (turned off in the Contents pane). This applied to geoprocessing as well.

Make newly added layers visible setting

View solution in original post

3 Replies
AdamDavis
Occasional Contributor

Found it myself (at least in code).

await Geoprocessing.ExecuteToolAsync("management.CopyFeatures", parameters,

        null, new CancelableProgressorSource(progDlg).Progressor, GPExecuteToolFlags.None)

Set GPExecuteFlags to None.

Adam

DrewFlater
Esri Regular Contributor

You cannot set this option specifically for geoprocessing. However you can set a mapping option so that newly added layers are not visible (turned off in the Contents pane). This applied to geoprocessing as well.

Make newly added layers visible setting

AdamDavis
Occasional Contributor

Hi Drew,

Thanks for that. It would be great if a future ArcGIS Pro included the same setting for not adding to the current map as ArcGIS.

Thanks

Adam

0 Kudos