I'm using geoprocessing to create a new feature class, but it's automatically being added to the active map when the tool executes, which I don't want. How can I stop this? I can't see any GP environment variable to control this.
Solved! Go to Solution.
One of Geoprocessing.ExecuteToolAsync overloads has a parameter called GPExecuteToolFlags set it GPExecuteToolFlags.None
Adam
One of Geoprocessing.ExecuteToolAsync overloads has a parameter called GPExecuteToolFlags set it GPExecuteToolFlags.None
Adam
Ah - not sure how I missed that! Thanks Adam
Hi Luke,
Just because I know the answer now doesn't mean I didn't miss that for a long time as well 🙂
Adam