Collect All Bends

Anyone have any idea on the best/easiest way to collect allbends on a sheet metal part?SolidworksApi macros
Answers 2
SF
SF 2009-05-11 Best Answer
nevermind...

I can modify thecodefound here to do what I need...
BG
BG 2009-05-11
As far as I ever got with that is; loop through all thefeatures and look for Edgeflange, Hem, SMMiteredFlange, LoftedBend,SolidtToSheetMetal, SM3Bend and SMBaseFlange.
Then with each one that is found loop through it and look forUiFreeformBend, RuledBend, Sketchbend, OneBend and Uibend. Then youcan count them or what ever you wish to do with them as yourlooping through them.

This is a long process and you would think there should be a betterway but I never found one.
Maybe somebody else has a better way to do it.