Calculate Area Add In - problem with multiple dataset types

Discussion created by smfranklin on May 2, 2014
Latest reply on May 2, 2014 by smfranklin
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...