nheick

Toolbox Not Listed After First Tool Call

Discussion created by nheick on Jun 10, 2012
I am having an issue with a script tool in my toolbox.  The script tool imports the toolbox to be able to call other script tools and models in the toolbox.  After the first tool call using arcpy.ToolName_ToolboxAlias(), the toolbox is no longer available for the second tool call.  I realized this after lengthy debugging.  ListToolboxes() lists the toolbox before but not after each tool call.

Let me know if I am doing things all wrong.  Do you not need to import a toolbox in a script tool if you are calling tools from the same toolbox?

Thanks,


Nathan

Outcomes