I am using ArcGIS Desktop 10 and Python 2.6.5.
i have created a "test.lyr" file, now i want to convert it either to shape file or raster file. i have created the "test.lyr" from "test0.tif" and added symbology from "test0.lyr" files as follows.
arcpy.MakeRasterLayer_management(tifFile,tmpFile,"#","","#")
arcpy.SaveToLayerFile_management(tmpFile,curFile)
arcpy.ApplySymbologyFromLayer_management(curFile,symbologyLayer)
the curFile in the above code is the test.lyr file obtained.
Can anyone show how to convert it to "test1.shp" or "test1.tif" file using arcpy?