I have created a Python script tool using ArcPy. It has a File Geodatabase Table as output.
I want to add the script to a new Model in ModelBuilder in ArcMap. The Table output should be an "Intermediate" file in the Model. When I tried to right click on the Table to set "Intermediate" I noticed that option was greyed out.
In ModelBuilder, how can I set the Table to be "Intermediate".
...
Output_file_geodatabase = arcpy.GetParameterAsText(0)
Output_table_name = arcpy.GetParameterAsText(1)
Template_Table_Name = arcpy.GetParameterAsText(2)
arcpy.CreateTable_management(Output_file_geodatabase, Output_table_name, Template_Table_Name, "")
... use InsertCursor to add rows to the Table ...
arcpy.SetParameter(3, Output_file_geodatabase + "\\" + Output_table_name)
So here, there are three input params and one output param which is the Table.