AnsweredAssumed Answered

ArcPy: Set Output Processing Extent (Bug!)

Question asked by Playa on Aug 3, 2015
Latest reply on Sep 2, 2016 by JohnWallX

I need some assistance to figure out if the following is a bug, if so what work around can I use. I've written a Python Script I need to change the Processing Extent for each feature layer being processed. I obtain the extent for each feature layer using the following Python code:


process_extent = arcpy.Describe(site_buffer).extent


If I print process_extent , the results are what I would expect:


I then try to set the Processing Extent using the process_extent as input based on the following code:


arcpy.env.extent = process_extent


if I print arcpy.env.extent, the results are not what I would expect: