<?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: Arcpy function for creating a new ArcGIS Project in ArcPro? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119036#M63022</link>
    <description>&lt;P&gt;There is nothing to create a new project as you note from the documentation.&amp;nbsp; You can only use CURRENT or reference a project on disk by its path.&amp;nbsp; If you have the need to create a new project you will need to use a template project, then use Save As to save under a new name when you do anything to it so that the template isn't modified and you can specify a new location for the project&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;it is already and Idea, but hasn't garnered much support&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-ideas/provide-ability-to-create-new-arcgis-pro-projects/idi-p/1094515" target="_blank"&gt;Provide ability to create new ArcGIS Pro projects ... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Nov 2021 11:25:58 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-11-21T11:25:58Z</dc:date>
    <item>
      <title>Arcpy function for creating a new ArcGIS Project in ArcPro?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119035#M63021</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a function that would simply create a new arcgis project file. I have looked over the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/alphabeticallistoffunctions.htm" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; for arcpy.mp functions and all I could find was a&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/arcgisproject.htm" target="_blank" rel="noopener"&gt; function&lt;/A&gt; that references a CURRENT project.&lt;/P&gt;&lt;P&gt;I have developed a script that iterates over points dataset performing analysis for each point in a particular area and then saves all the outputs to a new directory. I've set up the code to push the outputs to a newly created directory to better organize the project as a whole. Now I would like to create map outputs for that data analysis and save them to their respective directory.&lt;/P&gt;&lt;P&gt;It would be nice if there is a way to create a new ArcGIS project (aprx), to then add a new map to the project, then reference the layers I need for a particular area in the map, then symbolize, then save, and then finally loop to the next folder/set of data.&amp;nbsp; Based on this &lt;A href="https://community.esri.com/t5/arcgis-pro-ideas/create-a-new-map-in-arcgis-pro-with-arcpy/idi-p/926529" target="_blank" rel="noopener"&gt;thread&lt;/A&gt;, it seems like arcpy.mp requires an already existing project and already existing maps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also for reference, here is a&amp;nbsp;&lt;A href="https://gis.stackexchange.com/questions/130117/qgis-python-script-for-creating-project-file" target="_blank" rel="noopener"&gt;post&lt;/A&gt;&amp;nbsp;that shows how this process can be done for QGIS projects in Qgis. I am really hoping arcpro has something similar to this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this workflow possible? Are there known functions or workarounds to do this? Should I adjust my workflow?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 10:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119035#M63021</guid>
      <dc:creator>PhilipShutler</dc:creator>
      <dc:date>2021-11-21T10:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy function for creating a new ArcGIS Project in ArcPro?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119036#M63022</link>
      <description>&lt;P&gt;There is nothing to create a new project as you note from the documentation.&amp;nbsp; You can only use CURRENT or reference a project on disk by its path.&amp;nbsp; If you have the need to create a new project you will need to use a template project, then use Save As to save under a new name when you do anything to it so that the template isn't modified and you can specify a new location for the project&lt;/P&gt;&lt;P&gt;PS&lt;/P&gt;&lt;P&gt;it is already and Idea, but hasn't garnered much support&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/python-ideas/provide-ability-to-create-new-arcgis-pro-projects/idi-p/1094515" target="_blank"&gt;Provide ability to create new ArcGIS Pro projects ... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 11:25:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119036#M63022</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-11-21T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy function for creating a new ArcGIS Project in ArcPro?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119068#M63023</link>
      <description>&lt;P&gt;Appreciate the workflow! I'm new to map production with python, most of my experience is geoprocessing. I'll check this out.&lt;/P&gt;&lt;P&gt;The other threads on this topic point me toward that new idea for esri to implement. Gave it kudos.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Nov 2021 20:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119068#M63023</guid>
      <dc:creator>PhilipShutler</dc:creator>
      <dc:date>2021-11-21T20:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy function for creating a new ArcGIS Project in ArcPro?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119446#M63033</link>
      <description>&lt;P&gt;Workaround:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;aprx = arcpy.mp.ArcGISProject(r"Template_File_Path")

aprx.saveACopy(r"New_File_Path")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This will essentially create a project.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 07:03:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119446#M63033</guid>
      <dc:creator>PhilipShutler</dc:creator>
      <dc:date>2021-11-23T07:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy function for creating a new ArcGIS Project in ArcPro?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119595#M63034</link>
      <description>&lt;P&gt;As I suggested&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:09:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-function-for-creating-a-new-arcgis-project/m-p/1119595#M63034</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-11-23T17:09:07Z</dc:date>
    </item>
  </channel>
</rss>

