I've been having some issues with MakeFeatureLayer not adding its result to the MXD. I made a script with just the following lines to root out the problem:fc = arcpy.GetParameterAsText(0) arcpy.MakeFeatureLayer_management(fc, arcpy.Describe(fc).name + "_test")
If I run these from the Python window the layer is added. But if I save them to a script and use that in a tool, it executes with no errors but won't add anything to the data frame. If I run ListLayers it isn't there either.Does anyone know what I have to do to hunt down this layer?