Macro to add a configuration specific property based on Sheet metal Flat Pattern Dimension

I'm looking for a macro that adds a configuration specific property based on sheet metal flat pattern dimensions (something like t x W x L).

I've found this macro  , but it should be run while the part is flattened. Otherwise it only returns bounding box.

Is it possible to write a macro to add flat pattern dimensions to a custom or configuration specific property while the part is bent (without the need to be flattened)?

thank you.

SolidworksApi macros