Hi All!!
So I'm currently writing a script that will allow end users to create a map, and the only hiccup I'm having is the spatial reference.
When I run the below code I receive the below error. But since its the generic error I'm not too sure what's going wrong.
arcpy.env.outputCoordinateSystem = arcpy.SpatialReference(arcpy.GetParameterAsText(3))
RuntimeError: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds.
In the toolbox I have the data type set as 'Coordinate System'.
Any help would be appreciated.
Thank you.