Select to view content in your preferred language

stop working of ArcGIS Pro while Multiprocessing mapping using arcpy Python

51
2
yesterday
Labels (3)
zplussoftware
New Member

Hello,

I am try to generates the Maps using Arcpy Python with 2 ways.
1. MultiProcessing of creating maps in single Project.
2. MultiProcessing of creating map with multiple Projects.
Both these mehods have problem and Why ArcGIS Pro 3.7 not working properly while generating the Maps using  Multiprocessing?

Is there any condition like at a time sinlge map can generate in ArcGIS Pro?

0 Kudos
2 Replies
DanPatterson
MVP Esteemed Contributor

You need to provide more information. 

For example, what are you trying to apply it to? 

Are you receiving error messages? 

Did it not work as expected?  or at all?

Your code might be useful as well.   see this for formatting suggestions

Code formatting ... the Community Version - Esri Community


... sort of retired...
0 Kudos
DavidSolari
MVP Regular Contributor

Don't try to parallelize anything to do with map or layout structure in a single Pro instance, even if you find a safe way to do it it'll probably be slower than a single threaded implementation anyways. If you need to run a layout adjustment + export workflow in multiple maps you might as well run multiple Python instances, the headaches of multiprocess-specific issues aren't worth the miniscule amount of memory sharing you can achieve.

0 Kudos