Select to view content in your preferred language

Provide ability to create new ArcGIS Pro projects from Python

12309
34
09-01-2021 09:54 AM
Status: In Product Plan
Labels (1)
MaryGraceMcClellan
Regular Contributor

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. 

Edited to add: @Rhys-Donoghue posted a good workaround for this issue if anyone is interested. 

34 Comments
JeffBarrette
Status changed to: In Product Plan

This is planned for the upcoming 3.7 release.  The function is ...

arcpy.mp.CreateArcGISProject(project_path, project_name, {create_parent_folder}, {home_folder}, {default_database}, {default_toolbox})

JordanCarmona

So exciting! Are we getting a context manager to go along with it?

Context Manager for arcpy.mp.ArcGISProject() - Esri Community

AlfredBaldenweck

This is wonderful news!

BlakeTerhune

I can't wait to see the crowd's reaction when someone reads this in the "what's new with Python" portion of the opening plenary session at the Dev & Tech Summit next year. Impactful new ArcPy features always get the best reactions!