I am using ArcMap 10 SP5 and wanting to use a couple of parameter varaibles from Python in Model Builder. In Python they are set up as below:
OutputDatabase = arcpy.GetParameterAsText(0)
ImportTableDatasetVar = arcpy.GetParameterAsText(1)
Script Properties are shown in attachment.
These 2 are set as input, but I have added to output for the model builder custom tool.
I have imported the toolbox as below: (Variables are set in Modelbuilder as standalone workspace variables that are then used by the table to table tool)
AddingTBL = arcpy.ImportToolbox("C:/...../Toolboxname.tbx")
AddingTBL.AddingTables(OutputDatabase, ImportTableDatasetVar)
Any help would be appreciated.
Thanks in advance.
Brian Donaldson