<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Importing mxd into ARCGIS pro using python script in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534414#M23528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a screenshot of the output of print statements when running your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a link showing the script example provided by ESRI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2018 18:20:41 GMT</pubDate>
    <dc:creator>MichaelVolz</dc:creator>
    <dc:date>2018-10-12T18:20:41Z</dc:date>
    <item>
      <title>Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534413#M23527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a script to import&amp;nbsp; multiple MXD&amp;nbsp;&lt;/P&gt;&lt;P&gt;import arcpy, os, datetime&lt;/P&gt;&lt;P&gt;workspaceMXD = "C:\\Users\\e087607\\Desktop\\"&lt;BR /&gt;arcpy.env.overwriteOutput = True&lt;/P&gt;&lt;P&gt;aprx = arcpy.mp.ArcGISProject("Current")&lt;BR /&gt;arcpy.env.workspace = workspaceMXD&lt;BR /&gt;listFiles = arcpy.ListFiles("*.mxd")&lt;/P&gt;&lt;P&gt;#Import MXD Files&lt;BR /&gt;for files in listFiles:&lt;BR /&gt; inputMXD = os.path.join(workspaceMXD, files)&lt;BR /&gt; print (inputMXD)&lt;BR /&gt; aprx.importDocument(inputMXD)&lt;BR /&gt; aprx.saveACopy("C:\\Users\\e087607\\Documents\\ArcGIS\\Projects\\import.arpx")&lt;/P&gt;&lt;P&gt;print ("MXD Files: " + str(listFiles) + " were updated at " + str(datetime.time))&lt;/P&gt;&lt;P&gt;I go to run it as normal and takes its time (doesn't run quickly) but none of the files I wanted to copy over showed up.&amp;nbsp; &amp;nbsp;I followed the script example from ESRI word for word.&amp;nbsp; &amp;nbsp;Am I doing something wrong?&amp;nbsp; &amp;nbsp;Is there a different code to use?Please let me know&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Andrew&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 18:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534413#M23527</guid>
      <dc:creator>AndrewDolch2</dc:creator>
      <dc:date>2018-10-12T18:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534414#M23528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a screenshot of the output of print statements when running your script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a link showing the script example provided by ESRI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 18:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534414#M23528</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-12T18:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534415#M23529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;IMG __jive_id="424301" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/424301_error.png" /&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 18:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534415#M23529</guid>
      <dc:creator>AndrewDolch2</dc:creator>
      <dc:date>2018-10-12T18:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534416#M23530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copied your script into the python window of an aprx that I named import just like you.&amp;nbsp; I then ran the script and it added maps named Layers, Layers1, and Layers2 as I imported 3 mxd files.&amp;nbsp; Did you try going to the Catalog pane to see of these maps were added.&amp;nbsp; You then need to right click on the maps in the Catalog pane and click on Open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you wanted the maps to have the name of the mxd you imported, you'll need to add some additional code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 18:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534416#M23530</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-12T18:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534417#M23531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&amp;nbsp; How come it did not pop up in the tool bar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 19:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534417#M23531</guid>
      <dc:creator>AndrewDolch2</dc:creator>
      <dc:date>2018-10-12T19:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534418#M23532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does your reply mean that the mxds were imported, but you just did not see them at first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 19:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534418#M23532</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2018-10-12T19:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Importing mxd into ARCGIS pro using python script</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534419#M23533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give an example of the code required to import the MXD file names as&amp;nbsp;Map View names?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 10:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importing-mxd-into-arcgis-pro-using-python-script/m-p/534419#M23533</guid>
      <dc:creator>SimonKettle</dc:creator>
      <dc:date>2019-03-14T10:18:24Z</dc:date>
    </item>
  </channel>
</rss>

