laptop and a wrench

Bug

In scripting geoprocessing environments, CellSize, Extent, snapRaster, and output coordinate do not accept Raster objects.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM087923
SubmittedJanuary 8, 2013
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found10.0
Version Fixed10.2
StatusFixed

Workaround

Use from Describe:arcpy.env.cellsize = arcpy.Describe('flowaccumulation.img').meancellheightOr to use a Raster object:myRas = arcpy.Raster('aspect_elev_b')arcpy.env.cellSize = myRas.meanCellHeight

Steps to Reproduce

Bug ID: NIM087923

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options