Hi I have a a fairly simple script tool dialog which has been setup to get 6 parameters from the user and return them as the tool output as a list. the aims is that the out put would then be used elsewhere within a python add-in tool. I know i could revert to storing these values as a text file but that's not my preferred option. I can see the result in the results window but just cant get to it.
Below is the script to dialog calls on closure and the seventh parameter is set to an output to store the first 6 parameters. I have been using the pythonaddins module to call the tool through GPToolDialog(Toolbox,Toolname)
What i really want is to parse the output parameter from the script tool to the python addin.
SCRIPT CALLED BY PYTHON TOOL DIALOG
import arcpy
para1 = arcpy.GetParameter(0)
para2 = arcpy.GetParameter(1)
para3 = arcpy.GetParameter(2)
para4 = arcpy.GetParameter(3)
para5 = arcpy.GetParameter(4)
para6 = arcpy.GetParameter(5)
paraList = [para1,para2,para3,para4,para5,para6]
arcpy.SetParameter(6,paraList)