Get flat pattern drawing view fold line details

Is there a way to get the fold line details in a sheet metal drawing view? Ie a list of all folds and their direction and angle?

SolidworksApi macros