Possible to create an empty ArcGIS Pro toolbox using Python?

368
2
09-01-2021 09:44 AM
MaryGraceMcClellan
New Contributor III

I am trying to write a script that will convert our MXDs to APRXs, but I don't want a folder created for each one. To do this, I want to create a toolbox called "Default.tbx" in the parent folder which will be shared by all the APRXs (I don't use the toolboxes anyways, I just want to minimize the files in the folder). I know I can create it manually, but I was hoping to do it within the script to make it more replicable. 

I appreciate any advice! 

 

 

0 Kudos
2 Replies
BlakeTerhune
MVP Regular Contributor

Could you copy an existing .tbx from a shared/network location to the parent folder?

MaryGraceMcClellan
New Contributor III

I'm thinking that's what I'll have to do. I might just suck it up and use shutil to make a copy of an entire project folder for each new APRX (even though I truly dislike the way projects are organized). 

0 Kudos