Has anyone created or found a batch macro to change k-factor and bend radius on sheetmetal parts?

Has anyone created or found a batch macro to change k-factor and bend radius on sheet metal parts?

I have tried to use #TASK and Power-SM to achieve the desired results, but I can't get them to function properly. I have a macro that will change the K-Factor and Bend Radius on single parts....somewhat. I have may parts with a formula built into the bend radius and am unable to change the formula through the macro. It works only if the bend radius is a value.

We have changed our bend tooling and now I have close to 56,000 sheet metal parts in need of this modification.

So, any help would be greatly appreciated.

SolidworksApi/macros