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
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.