Packaging macro

Hi Folks

I work for a packaging company and we create a lot of various boxes using sheet metal for creating simple packs like a RSC, I am wondering being new to whole API side of things if anyone has created a macro already for creating boxes, the idea being that I can select the corrugated board grade and give the ID of the box and get the macro to create the part for me, I have created a rough template without a macro, alter the dimensions on the property manager for this but it would not always bend correctly, it is also difficult to change the thickness of the board without running into errors.

My question is would anyone have built macros already for creating packs like this already

Any help would be appreciated

SolidworksApi macros