AnsweredAssumed Answered

Create Fishnet cannot create feature class

Question asked by pteronura on Feb 6, 2019
Latest reply on Jul 11, 2019 by el3shry

I was wondering if you could help me with an error with the ‘create fishnet’ routine. Here’s what I did:

env.workspace = "\\Mac\Home\Desktop"

env.outputCoordinateSystem = arcpy.SpatialReference("WGS 1984 UTM Zone 32S")

arcpy.CreateFishnet_management('test3.shp', '788391.5221 9976953.683','788327.2154 9977030.346', '20', '20', '5', '5', '#', 'NO_LABELS', '#', 'POLYGON')


The error:

Cannot create FeatureClass test3.shp


Do you have any suggestions? When I try using the GUI, it creates an empty shapefile.