Search code examples
pythonarcmap

Bug output feature class


I just encounter a little bug, maybe someone can help me.

I'm creating Thiessen Polygons.

I define my shapefile in Input Features, and in Output Feature Class, then I have to possibilities either keep the default file or save my output where I want.

When I save my output in the Default file, and then I open the attribute table of the Polygon file created, I can observe the Shape_length field and the Shape_Area field.

But if I save my file in another file (Output Feature Class), then I don't find the Shape_length field and the Shape_Area field in my attribute table..

I have no idea how to change that? because I'm running a small loop using Python and I'd like to have the Area for each Polygon in the table rather than having to recalculate it for each file created !

cheers


Solution

  • ANSWER: In order to avoid the bug describe before, one needs to set up the default geodatabase.

    Forthat you can check this link:

    http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00sn0000000t000000.htm