If you work with vectors, apply a negative buffer of 100 m n all your polygons. Then you can measure the area of the remaining polygons intersected with your grid of interest.
If you work in raster, you can use the shrink tool, then create a binary raster (0,1) where the shrinked value equals the initial raster (with the Con tool), then use a focal stat to ...
I hit the same blank PDF issue when creating a winforms program to ArcMap to do automation tasks.
Reading the official documentation and specifically this discussion, I realize it is due to the processing space issue.
I resolve the issue by create the ExportPDF and PrintAndExport instance via IObjectFactory.
IObjectFactory oj = _app as IObjectFactory; //...
I'd find your first geometry with a search cursor. Then iterate how many times desired, create new geometries based on the last iteration, and store those geometries in a list. Finally, use an insertcursor to insert your geometry.
#number of iterations
iterations = 50
#get first geom
with arcpy.da.SearchCursor (infc, "SHAPE@") as curs:
lastGeom = curs....