Dan,
I downloaded and tested out your tool. I'm trying to use it with a contour layer. So for every unique elevation, I'd like to create a shapefile for that elevation. When I run your tool, it seems to work for one elevation but all the other elevations are tagged with 'did not work'...any ideas on what I'm doing wrong...?