Frequently asked question

Can multiple geoprocessor objects be created and used within an application?

Last Published: April 25, 2020

Answer

Creating multiple geoprocessor objects within the same application is not recommended. Using multiple geoprocessor (GP) objects within an application or within different threads within an application may cause odd and unpredictable behavior, such as properties changed on one geoprocessor being updated across all geoprocessor objects being used.

The geoprocessor (GP) object is created using arcgisscripting.create(). At ArcGIS 10, the arcpy module uses the geoprocessor module internally; therefore, the same recommendation applies - arcpy should not be imported in the same application that a geoprocessor object is created.

Article ID: 000011059

Software:
  • ArcMap

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options