Looking for custom Macro on saving sheet metal parts

Hi All,

First off I'm not very good with writting programs and code but can someone steer me or help me in the right direction.  Im looking for a macro that would save all parts in

an assy and when its saving those sheet metal part it flattens them then bends them back to there formed state.  Is this possible ?

The reseon im looking for this is that the bounding box does not automatically update when you change a part, only when you flatten.

Thanks,

Troy

SolidworksApi macros