I am working on what I thought was a simple button to calculate the area of a selected polygon.. however the script fails if there is a raster dataset loaded in the .mxd - even if it is not selected, due to the FIDSet command.. any ideas on how to get around this (other than removing the raster)?
Code in reply below...
Code in reply below...