Could someone give me some help on getting a toolbox into ARC Desktop 10.2. I have tried many times without success and get various error messages. I simply want to get the following tools into my application so that I can run them on some existing features
http://www.arcgis.com/home/item.html?id=e19b53170e004e46827b8129d6ef9bfe
It is my first time attempting to add custom tools so please feel free to start at a basic level from first principles! I haven't found the online help particularly understandable / useful.
Many thanks......Dave
Solved! Go to Solution.
make sure you unzip everything in the same folder as shown in the link. the structure of the toolbox and the scripts must be maintained, otherwise you will have to re-establish them. I suspect that the toolbox and scripts work properly since it has been around for a while with no problems reported so far.
Can I assume that you have gotten past the step of adding a toolbox to arctoolbox?
Right click in your workspace in Catalog, and select new toolbox. Right click the toolbox and select add script. Give the script a name, and generally select relative paths and click next., navigate to your script location and click next. Now you have to add parameters if you need them. Does your tool have user defined parameters? If not, you can just click finish. If you do I will tell you how to add those after you reply.
Seph...the toolbox already exists, it just needs to be added to arctoolbox
Oh sorry, I'm half asleep today, I swear!
Thanks Sephe and Dan
Dan - I added the toolbox (I thought), I got the error message that the scripts didn't exist - I suspect I have added it wrongly. I did get a dialogue box with sensible parameters to add.
Seph - I tried adding the script, I assumed it would sort its own parameters out - it didn't and I got a dialogue with no parameters.
Thanks both
Following the procedure I outlined in my latest comment, the scripts did indeed have parameters ready to enter in the dialog. Sorry, I didn't mean to confuse things with my first answer--it was sort of off track.
I was also able to add the toolbox to ArcToolbox by right clicking in the ArcToolbox window, selecting Add Toolbox, and then navigating to the correct location and selecting it. It still opened just fine. Where are you saving the files when you unzip them?
So, I downloaded the toolbox from the link, unzipped it to a location on my C drive, and then in the catalog window in ArcMap, I was able to navigate to the scripts no problem. They opened up a dialog as expected when I double-clicked, but I didn't try running them. What happens when you follow that procedure Dave?
PS. I nabbed the tool for myself because it looks handy!