Select to view content in your preferred language

Add a custom toolbox to ArcToolbox default list programmatically.

6479
4
05-17-2010 11:15 AM
AustinMilt
Deactivated User
I've developed a toolbox in Python and am writing a small install script for it. I want to add the toolbox to ArcMap/ArcCatalog's ArcToolbox and save it to the defaults via the script. Is there a way to do this programmatically?

I want to mimic the final result of these steps using my Python install script (or do whatever works):

1. Open ArcMap/ArcCatalog
2. Right-click on ArcToolbox in the ArcToolbox list and click Add Toolbox.
3. Find the toolbox, highlight it and click Open.
4. Right-click in the empty area in the ArcToolbox list and click Save Settings > To Default

Thanks in advance for help!
0 Kudos
4 Replies
AustinMilt
Deactivated User
I don't suppose bumping is allowed?
0 Kudos
CrispinCooper
Emerging Contributor
I'd really like to know this too.

I notice that if you drop a toolbox file into C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes it seems to have the desired result.

Not sure if this is supported behaviour though 😞
0 Kudos
HaroldBostic
Frequent Contributor
Was there any resolve to this?
0 Kudos
AustinMilt
Deactivated User
Was there any resolve to this?


I have not yet found a resolution, but it has been a long time and I foresee having to try this again.
0 Kudos