AnsweredAssumed Answered

ArcGIS Project (.aprx) lock not released

Question asked by nita14 on Sep 19, 2018
Latest reply on Sep 20, 2018 by nita14

Dear All,

It seems that does not release the lock of the resulting (new) aprx document. The following code does create a new aprx file:

aprx_project.saveACopy(os.path.join(workspace, prefix, name_to_save))
del aprx_project

Unfortunately, the lock persists on the new .aprx file. Is there any way to remove it? Only after I close the ArcGIS Pro which I use to run the script, the lock is released.


Any hints are much appreciated!



ArcGIS Pro v.2.2.2