Number of Bends in SheetMetal Part...

Hi, just as the tittle suggests, I'm looking for a viable solution to obtain the number of bends in a given part/configuration.

Basically I need to be able to "scan" a part and tell if it has any bends or not...so I can decide whether to export it as a 3D (ACIS-SAT) or a 2D (DXF/DWG), to then get forwarded to the appropriate machinery.

I see 2011 comes with some new enhancements towards cutlist properties and so on...

If you set the system to automatically (right click on cutlist on tree and set to automatic) generate a cut-list, it will automatically create/collect a batch of properties...including the number of bends...the only problem though is that I can't use this automatic cut-list option, since it has some undesired side effects in my BOM's.

I would like to know if there's a way to get this property without having to create the cut-list item, or if there is some other way of counting the bends in a part?

Opinions/help would be very much appreciated.

Thanks

SolidworksApi macros