<?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>idea Provide ability to create new ArcGIS Pro projects from Python in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idi-p/1094515</link>
    <description>&lt;P&gt;I'm creating a script that will convert all of my MXDs to APRXs, and I find it extremely inconvenient that I can't create a new blank project from scratch form within ArcGIS Pro. This utility would make switching to ArcGIS Pro so much easier, along with the ability to create blank toolboxes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edited to add:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305798"&gt;@Rhys-Donoghue&lt;/a&gt;&amp;nbsp;posted a good &lt;A href="https://community.esri.com/t5/python-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1215930#M143" target="_self"&gt;workaround&lt;/A&gt; for this issue if anyone is interested.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 19:38:17 GMT</pubDate>
    <dc:creator>MaryGraceMcClellan</dc:creator>
    <dc:date>2024-04-25T19:38:17Z</dc:date>
    <item>
      <title>Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971221#M29685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I know that arcpy.mapping was not designed to author new objects - &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000006s000000" target="_blank"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000006s000000&lt;/A&gt;&amp;nbsp;- but I wish that it had been and would like to see ArcPy enhanced to be able to create a new map document.

&lt;!-- content transformation source ID: 087E00000004VTp --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971221#M29685</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2013-02-12T23:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971222#M29686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;What if you had a blank MXD available with the tool or script that you just created a copy from and did what you needed to do?

&lt;!-- content transformation source ID: 00aE00000028TSg --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971222#M29686</guid>
      <dc:creator>ChrisFox</dc:creator>
      <dc:date>2013-02-13T18:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971223#M29687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If that blank MXD was part of the ArcGIS install then I would consider it a solution but if you mean post-install having to ensure that one is made available on every machine my code gets run on then to me that's a workaround.&lt;BR /&gt;&lt;BR /&gt;Its a shame the code below does not work - perhaps arcpy.mapping.MapDocument() can be enhanced to allow opening of the Normal.mxt?&lt;BR /&gt;&lt;P&gt;
	import arcpy&lt;/P&gt;
&lt;P&gt;
	mxd = arcpy.mapping.MapDocument(r"C:\Users\Graeme\AppData\Roaming\ESRI\Desktop10.1\ArcMap\Templates\Normal.mxt")&lt;BR /&gt;	mxd.saveACopy(r"C:\temp\test.mxd")&lt;/P&gt;

&lt;!-- content transformation source ID: 00aE00000028U7F --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 23:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971223#M29687</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2013-02-13T23:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971224#M29688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;At 10.0 and 10.1 you will find many MXDs are available with the install at:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;ArcGIS Desktop Install&amp;gt;\MapTemplates&lt;BR /&gt;&lt;BR /&gt;This gives you all sorts of MXDs with different layout sizes and orientation. In addition, depending on how you are sharing your code, if you are building a python add-in it is possible to package data including a blank MXD along with your add-in:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/#/Essential_Python_add_in_concepts/014p0000001p000000/" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/#/Essential_Python_add_in_concepts/014p0000001p000000/&lt;/A&gt;

&lt;!-- content transformation source ID: 00aE00000028V3O --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 18:21:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971224#M29688</guid>
      <dc:creator>ChrisFox</dc:creator>
      <dc:date>2013-02-14T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971225#M29689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks Chris&lt;BR /&gt;&lt;BR /&gt;Those two recommendations should provide good workarounds (even a virtual solution).&lt;BR /&gt;&lt;BR /&gt;However, it will probably just shift the blocking point for me to being why can't new &lt;A href="https://community.esri.com/" target="_blank" class="jive_macro jive_macro_idea" __jive_macro_name="idea" __default_attr="2637" title="layout elements" modifiedtitle="true"&gt;layout elements&lt;/A&gt; and other objects like &lt;A href="https://community.esri.com/" target="_blank" class="jive_macro jive_macro_idea" __jive_macro_name="idea" __default_attr="3431" title="grids and graticules" modifiedtitle="true"&gt;grids and graticules&lt;/A&gt; be created using ArcPy?&lt;BR /&gt;

&lt;!-- content transformation source ID: 00aE00000028VmJ --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 00:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971225#M29689</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2013-02-15T00:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971226#M29690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Yes, unfortunately those are just not implemented. We did add the ability at 10.1 to clone a text or graphic element in the layout. So if one already exists you can clone a copy&amp;nbsp;it and modify some properties.

&lt;!-- content transformation source ID: 00aE00000028WPn --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 17:40:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971226#M29690</guid>
      <dc:creator>ChrisFox</dc:creator>
      <dc:date>2013-02-15T17:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971227#M29691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Cloning text and graphic elements so properties can be modified is certainly a help so thanks for reminding me of them.&lt;BR /&gt;&lt;BR /&gt;The biggest one for me&amp;nbsp;is not being able to change intervals on existing graticules using ArcPy - hopefully the ArcGIS Idea related to that will continue to attract votes.

&lt;!-- content transformation source ID: 00aE00000028aLL --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 02:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971227#M29691</guid>
      <dc:creator>GraemeBrowning</dc:creator>
      <dc:date>2013-02-20T02:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971228#M29692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;A must have !!!

&lt;!-- content transformation source ID: 00aE0000006DtyU --&gt;

&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 18:37:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971228#M29692</guid>
      <dc:creator>SachinKanaujia</dc:creator>
      <dc:date>2014-03-28T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create new Map Document (*.mxd) using ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971229#M29693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sources:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/50714/seeking-python-script-for-creating-mxd-files" title="https://gis.stackexchange.com/questions/50714/seeking-python-script-for-creating-mxd-files"&gt;arcpy - Seeking Python script for creating .mxd files? - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/12332975/installing-python-module-within-code" title="https://stackoverflow.com/questions/12332975/installing-python-module-within-code"&gt;pip - Installing python module within code - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;python:&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;import subprocess&lt;BR /&gt;import sys&lt;/P&gt;&lt;P&gt;def install(package):&lt;BR /&gt; subprocess.call([sys.executable, "-m", "pip", "install", package])&lt;/P&gt;&lt;P&gt;install('comtypes')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;import comtypes,os&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;def CreateMXD(path):&lt;BR /&gt; GetModule('esriCarto.olb')&lt;BR /&gt; import comtypes.gen.esriCarto as esriCarto&lt;BR /&gt; pMapDocument = CreateObject(esriCarto.MapDocument, esriCarto.IMapDocument)&lt;BR /&gt; pMapDocument.New(path)&lt;BR /&gt; pMapDocument.Save() #probably not required...&lt;/P&gt;&lt;P&gt;def GetLibPath():&lt;BR /&gt; """ Get the ArcObjects library path&lt;/P&gt;&lt;P&gt;It would be nice to just load the module directly instead of needing the path,&lt;BR /&gt; they are registered after all... But I just don't know enough about COM to do this&lt;/P&gt;&lt;P&gt;"""&lt;BR /&gt; compath=os.path.join(arcpy.GetInstallInfo()['InstallDir'],'com')&lt;BR /&gt; return compath&lt;/P&gt;&lt;P&gt;def GetModule(sModuleName):&lt;BR /&gt; """ Generate (if not already done) wrappers for COM modules&lt;BR /&gt; """&lt;BR /&gt; from comtypes.client import GetModule&lt;BR /&gt; sLibPath = GetLibPath()&lt;BR /&gt; GetModule(os.path.join(sLibPath,sModuleName))&lt;/P&gt;&lt;P&gt;def CreateObject(COMClass, COMInterface):&lt;BR /&gt; """ Creates a new comtypes POINTER object where&lt;BR /&gt; COMClass is the class to be instantiated,&lt;BR /&gt; COMInterface is the interface to be assigned&lt;BR /&gt; """&lt;BR /&gt; ptr = comtypes.client.CreateObject(COMClass, interface=COMInterface)&lt;BR /&gt; return ptr&lt;/P&gt;&lt;P&gt;if __name__=='__main__':&lt;BR /&gt; #testing...&lt;BR /&gt; arcpy.SetProduct('arcview')&lt;BR /&gt; filepath='c:/admin/testing123.mxd'&lt;BR /&gt; if os.path.exists(filepath):os.unlink(filepath)&lt;BR /&gt; CreateMXD(filepath)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 20:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/971229#M29693</guid>
      <dc:creator>maxsquires2</dc:creator>
      <dc:date>2019-08-08T20:09:59Z</dc:date>
    </item>
    <item>
      <title>Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idi-p/1094515</link>
      <description>&lt;P&gt;I'm creating a script that will convert all of my MXDs to APRXs, and I find it extremely inconvenient that I can't create a new blank project from scratch form within ArcGIS Pro. This utility would make switching to ArcGIS Pro so much easier, along with the ability to create blank toolboxes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edited to add:&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305798"&gt;@Rhys-Donoghue&lt;/a&gt;&amp;nbsp;posted a good &lt;A href="https://community.esri.com/t5/python-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1215930#M143" target="_self"&gt;workaround&lt;/A&gt; for this issue if anyone is interested.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 19:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idi-p/1094515</guid>
      <dc:creator>MaryGraceMcClellan</dc:creator>
      <dc:date>2024-04-25T19:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python - Status changed to: Closed</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1191025#M29695</link>
      <description>&lt;P&gt;We can NOT implement this idea with arcpy/arcpy.mp.&amp;nbsp; Creating a new project requires a "restart" and because Python gets loaded after the project is being opened, its a bit of a catch-22.&amp;nbsp; For a similar reason, there are some project options that can't be changed using arcpy.mp because the project needs to be restarted after a change is made.&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp and Layout teams.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 22:10:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1191025#M29695</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-07-08T22:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1215930#M29696</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420216"&gt;@MaryGraceMcClellan&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;FYI, I have this working. &amp;nbsp;For one of my clients, I had to migrate hundreds of MXDs to ArcGIS Pro, and move their locations. &amp;nbsp;This is how I did it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a blank aprx and save it to a temporary location, e.g. C:\temp\blank.aprx&lt;/LI&gt;&lt;LI&gt;For each MXD, import it into the aprx - e.g.&amp;nbsp;&lt;A href="https://community.esri.com/aprx.importDocument(mxd)" target="_blank"&gt;aprx.importDocument(mxd)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Save the aprx to the new location - e.g.&amp;nbsp;&lt;A href="https://community.esri.com/aprx.saveACopy(new_aprx)" target="_blank"&gt;aprx.saveACopy(new_aprx)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Remap the datasources&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Check the datasources were mapped correctly and run a few other validation tests&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;It only took half an hour or so to write the script, and then took a bit longer to test and make changes to handle exceptions. &amp;nbsp;I didn't have any issues with the new aprxs.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420216"&gt;@MaryGraceMcClellan&lt;/a&gt;&amp;nbsp;if you still need help with this, let me know and I will see if I still have a copy of my script, or I can rewrite the script for you when I get a chance.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 05:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1215930#M29696</guid>
      <dc:creator>Rhys-Donoghue</dc:creator>
      <dc:date>2022-09-26T05:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1221246#M29697</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305798"&gt;@Rhys-Donoghue&lt;/a&gt;&amp;nbsp; -- thank you for the follow up! I actually ended up doing something similar within my script if memory serves.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 19:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1221246#M29697</guid>
      <dc:creator>MaryGraceMcClellan</dc:creator>
      <dc:date>2022-10-12T19:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1221314#M29698</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/420216"&gt;@MaryGraceMcClellan&lt;/a&gt;&amp;nbsp;- awesome. &amp;nbsp;I have hundreds of useful scripts like these. &amp;nbsp;I will start putting them online when I get a chance.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 21:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1221314#M29698</guid>
      <dc:creator>Rhys-Donoghue</dc:creator>
      <dc:date>2022-10-12T21:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1409904#M29699</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305798"&gt;@Rhys-Donoghue&lt;/a&gt;&amp;nbsp;I came up with about the same process... however one thing i'm noticing is that the 'projects home folder' is still mapped to the original 'folder of the blank aprx'.&amp;nbsp; Did you figure out a way to remap this?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 20:25:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1409904#M29699</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2024-04-15T20:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410340#M29700</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp;there is an ArcGISProject.homeFolder property.&amp;nbsp; In fact when trying to rebuild a project using the techniques above by importing into a blank project, there are many other items to consider.&lt;/P&gt;&lt;P&gt;ArcGISProject.databases / updateDatabases&lt;/P&gt;&lt;P&gt;ArcGISProject.defaultGeodatabase&lt;/P&gt;&lt;P&gt;ArcGISProject.defaultToolbox&lt;/P&gt;&lt;P&gt;ArcGISProject.folderConnections / updateFolderConnections&lt;/P&gt;&lt;P&gt;ArcGISProjec.homeFolder&lt;/P&gt;&lt;P&gt;ArcGISProject.styles / updateStyles (Pro 3.3)&lt;/P&gt;&lt;P&gt;ArcGISProject.toolboxes / updateToolboxes (Pro 3.3)&lt;/P&gt;&lt;P&gt;ArcGISProject.updateConnectionProperties&lt;/P&gt;&lt;P&gt;We are considering creating New Project but there are some technical hurdles we need to resolve.&lt;/P&gt;&lt;P&gt;Jeff - arcpy.mp team&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 15:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410340#M29700</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2024-04-16T15:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python - Status changed to: Under Consideration</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410345#M29701</link>
      <description>&lt;P&gt;This is functionality we would like to provide in the arcpy.mp API but need to overcome a few technical hurdles.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 16:01:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410345#M29701</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2024-04-16T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410368#M29702</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;&amp;nbsp;Thanks! Obviously this is not a normal type thing but now that i'm working thru it, I can see a lot of potential uses.&amp;nbsp; Couple other thoughts:&lt;/P&gt;&lt;P&gt;* It would be nice to have a similar method to&amp;nbsp;ConvertLayoutFileToLayout for just the MAPX file.&amp;nbsp; Seems like this function already does the work since it imports the Layout and Map... why can't I do the same with just the map?&amp;nbsp; This technique is really useful for server-side geoprocessing services and the pagx/mapx files are easy to handle and keep in source control&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* I'm using 3.1.x right now (due to 11.1 at the Portal/Server level) and the .database and .updateDatabases isn't available until 3.2 ... took me a bit to figure out why i kept getting an error on thsoe.&lt;/P&gt;&lt;P&gt;* I was able to update the homeFolder, default toolbox, default geodatabase using the specific properties you mentioned. However it leaves references to the original atbx and gdb in the project.&amp;nbsp; Not a huge deal, someone can clean those open when they first open the project manually or otherwise not a big deal.&amp;nbsp; The database one probably cleans up when you use the updateDatabases() method but I'm not seeing anything that allow you to remove the toolbox.&amp;nbsp; removeItem() or a updateToolboxes method is probably needed as well?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 16:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410368#M29702</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2024-04-16T16:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410684#M29703</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp;as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;&amp;nbsp;mentioned above, this is how I would do it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 22:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1410684#M29703</guid>
      <dc:creator>rhys-kdrm</dc:creator>
      <dc:date>2024-04-16T22:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Provide ability to create new ArcGIS Pro projects from Python</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1604782#M34442</link>
      <description>&lt;P&gt;Stumbled upon this Idea today while trying to figure out how to initiate an APRX from Python, and was disappointed to see it's not currently possible.&amp;nbsp; I was also especially disappointed to see that almost all of the focus was based on the need to convert MXD to APRX, because of the approaching final sunset point of ArcMap and the decreasing utility of such a function.&lt;/P&gt;&lt;P&gt;Given that,&amp;nbsp;I thought it might be helpful to provide two parallel use cases for the benefit of &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1134"&gt;@JeffBarrette&lt;/a&gt;&amp;nbsp;and the ESRI team that would still stand completely irrespective of ArcMap's status (since our team is fully on ArcPro, already) and help give reason for this functionality to come to arcpy.mp or the CIM or something similar:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use Case 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our team periodically receives requests for maps of sections of our stormwater system.&amp;nbsp; These are nearly the exact same map every time, with only the extents changing, so I built an APTX for us all to use for consistency &amp;amp; speed.&amp;nbsp; Our current workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open the Excel sheet where we track our projects, generate unique Project IDs, and determine the correct server location to save the project file(s).&lt;/LI&gt;&lt;LI&gt;Create a work order in our work order tracking system for the public record&lt;/LI&gt;&lt;LI&gt;Create a new Pro project based on the team APTX, based on the Project ID &amp;amp; server location from Step 1.&lt;/LI&gt;&lt;LI&gt;Navigate to the requested Area of Interest and set the requisite definition query(-ies) in our Parcel and/or Road datasets to match the request.&lt;/LI&gt;&lt;LI&gt;Output the final PDF and send it to the client&lt;/LI&gt;&lt;LI&gt;Update the work order from Step 2 &amp;amp; close out the job.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The two big problems we have with this workflow are Steps 1, 3, &amp;amp; 4.&amp;nbsp; First, that AOI data never makes it anywhere outside that project, so it's difficult to do things like analyze hot spots of map requests.&amp;nbsp; Second, the Excel project sheet has gotten quite unwieldy and was never supposed to be the de facto database that it's become, so I thought I'd combine Steps 1, 3, &amp;amp; 4 into a single step inside ArcGIS Pro by creating a "Master Project Database" APRX.&lt;/P&gt;&lt;P&gt;The thought was that we'd pop open that master project, designate the AOI, and then trigger a script that would go create a second APRX we're actually going to be working in to produce the map.&amp;nbsp; That way, all of our map requests and other projects are now in a central, spatially-aware and queryable database.&amp;nbsp; Sadly, this is apparently not possible with the current arcpy.mp library, based on this thread.&amp;nbsp; In theory, we could still do the master APRX, but all the steps creating the secondary APRX would have to be manual operations and prone to quite a bit of confusion and error among some of our team.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use Case 1b/2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The next use case is partially an extension of the above and partially a separate use case.&amp;nbsp; That same Excel database that tracks our map requests&amp;nbsp;&lt;EM&gt;also&lt;/EM&gt; tracks our internal team projects.&amp;nbsp; They're divvied up in a sufficiently similar way to the map requests that they work best in the same database, but they also have a number of minor differences, which added to the complexity of the Excel database.&amp;nbsp; The workflow is basically the same as above, but without the work order tracking system, and with a wider variety of APTX file setups we might be referencing as the baselines of our analysis work, based on project needs.&lt;/P&gt;&lt;P&gt;While the process is largely similar, the&amp;nbsp;&lt;EM&gt;need&lt;/EM&gt; is in many ways greater, because of the value in adding a spatial component to our project database.&amp;nbsp; But having to do a manual process involving multiple APRX files is not currently feasible or reasonable the way a partially-automated process could have been.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on my understanding of the "workaround" mentioned in here, it likely wouldn't work for either of these use cases, because avoiding "straggler" linkages in things like the Styles &amp;amp; Toolboxes would potentially be a tedious problem.&amp;nbsp; We're already dealing with that with an empty nonsense GDB that's stored itself in the APTX, as discussed&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/arcgis-pro-creating-project-templates-without/idi-p/923067" target="_blank" rel="noopener"&gt;in this other Ideas post&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 15:28:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/provide-ability-to-create-new-arcgis-pro-projects/idc-p/1604782#M34442</guid>
      <dc:creator>MErikReedAugusta</dc:creator>
      <dc:date>2025-04-10T15:28:55Z</dc:date>
    </item>
  </channel>
</rss>

