Is there a simpler workaround instead of arcpy.mapping modules to get the output from geoprocessing to display to arcmap when running a script tool? I am in arcmap with geoprocessing option checked on to add geoprocessing results to display...which it does in the Python window, but not using a script tool..
For example:
import arcpy
inFC = arcpy.GetParameterAsText(0)
arcpy.MakeFeatureLayer_management(inFC,"Test_Layer")
works, but does not return a "Test_Layer" to the data frame or table of contents.
running in the Python window, it works fine:
import arcpy
inFC = r'c:\test\Points.shp'
arcpy.MakeFeatureLayer_management(inFC,"Test_Layer")