How Can I Close an mxd using arcpy script. Thanks
import os os.system("TASKKILL /F /IM ArcMap.exe")
import os os.startfile("Your MXD Path")
This will kill ArcMap itself. import os os.system("TASKKILL /F /IM ArcMap.exe")
Hi
I have just blogged on this >>
Using Python to close an ArcMap map document down | Spatial Needs....
This will show you how to close an MXD down by name....
thanks ed
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.