I think I found a work around. Instead of importing the tool box and using that path to the tool I have a more direct path to the tools that I need. I imported the script file directly and follow the logic in the code block under "if(__name__=='__main__'):" and that seems to work. I'll have to confirm that it works for the other operations that I need to do. Are there any problems moving forward in this manner? import drainagelineprocessing as d
oProcessor = d.DrainageLineProcessing()
oProcessor.bCallFromPYT = False
params = (r"H:\workspace\streamstats\02_post_editor\1501\15010005\strlnk", r"H:\workspace\streamstats\02_post_editor\1501\15010005\hydrodem_data.gdb\fdr", r"H:\workspace\streamstats\02_post_editor\1501\15010005\hydrodem_data.gdb\D3test", r"H:\workspace\streamstats\02_post_editor\1501\15010005\hydrodem_data.gdb\D3test_tbl")
tResults = None
tResults = oProcessor.execute(params, None)
... View more