I am trying to use the ConcatenateRowValues tool provided by ESRI. My overall code for my script is working fine except when it tries to use the ConcantenateRowValues Tool. I start by importing the proper toolbox and then attempt to get my script to access it. Below is my code to do this:
arcpy.ImportToolbox("C:/Users/'USERNAME'/Desktop/BaseLayer/ConcatenateRowValue101/ConcatenateRowValues101.tbx")arcpy.ConcatenateRowValues_AA(hlint, "SHORT_DESC", "NAME", "Hydro_Line", "-")The Error that's returned is:
Runtime error Traceback (most recent call last): File "", line 67, in File "C:\Users\'USERNAME'\Desktop\BaseLayer\ConcatenateRowValue101\ConcatenateRowValues101.tbx", line 54, in ConcatenateRowValues /jVXV+BHwwJ5+Gfgv/wnbP8A+NV2Eo+ZTjHPQ9qlR60cIvojBSkupxw+Avwvz/yTTwX/AOE7Z/8AAttributeError: Object: Tool or environment not found
أكثر...
arcpy.ImportToolbox("C:/Users/'USERNAME'/Desktop/BaseLayer/ConcatenateRowValue101/ConcatenateRowValues101.tbx")arcpy.ConcatenateRowValues_AA(hlint, "SHORT_DESC", "NAME", "Hydro_Line", "-")The Error that's returned is:
Runtime error Traceback (most recent call last): File "", line 67, in File "C:\Users\'USERNAME'\Desktop\BaseLayer\ConcatenateRowValue101\ConcatenateRowValues101.tbx", line 54, in ConcatenateRowValues /jVXV+BHwwJ5+Gfgv/wnbP8A+NV2Eo+ZTjHPQ9qlR60cIvojBSkupxw+Avwvz/yTTwX/AOE7Z/8AAttributeError: Object: Tool or environment not found
أكثر...