Need help with SolidWorks API functionability

I am currently working on a VBA program that will automatically sketch cursive fonts, dissolve them, then extrude them. So far I have been able to extrude every contour but am struggling to be able to tell Solidworks which contours to not extrude (i.e. the contours inside a lower case "e")
This has to be functional for every letter and possibly different cursive fonts.
Also, my next challenge will be finding a way to place mounting holes in the appropriate spots.
If anyone can offer any insight it would be greatly appreciated.
4 Answers

Is there a way to choose a profile/contour by its area?
Outside of that I don't think there would be a solution, especially one that would work for different fonts.
When working with cursive fonts, I always found lots of trouble once they were dissolved. Little loops and intersections seem to plague cursive fonts. There was almost always a need to go in with the trim tool to clean up the sketch before it could be used for a feature.

Here's an idea: just sketch the centerlines of the fonts, and add the thickness when you extrude them with the Thin option. Bold fonts would have a larger thickness.

Yeah and with cursive you wouldn't get the different sized portions of text. We have actually been able to get the extrusion corrrectly and now just have to find a way to add two mounting holes.
I am thinking of modifying a font and building mounting holes into letters and programming it to only use the letters with mounting holes at the beginning and end of the word.