AnsweredAssumed Answered

Issues importing a custom toolbox within another custom tool

Question asked by jambo313 on Nov 26, 2015
Latest reply on Nov 26, 2015 by jambo313

I'm trying to call on a custom python script within another script. The tool I'm creating takes 2 feature classes as inputs. I am calling on another custom tool that was downloaded in this script. If I run my script outside of ArcGIS, using predefined paths for the two feature classes, everything works fine. When I try to run my script as a tool using "arcpy.GetParameterAsText()" I get an error saying that the other script that I am referencing can't be found.


Here is the error I get:


Traceback (most recent call last):

  File "C:\Users\jamil.harvich\Documents\ArcGIS\Python_Scripts\Working\IP_Anno\Script\", line 80, in <module>

    arcpy.ConcatenateRowValues_IP(lyr[0] + '_Intersect', 'SHORT_DESC', 'NAME', lyr[2], '-')

  File "C:\Users\jamil.harvich\Documents\ArcGIS\Python_Scripts\Working\IP_Anno\IP_Labels.tbx", line 54, in ConcatenateRowValues


AttributeError: Object: Tool or environment <ConcatenateRowValues_IP> not found