How to creat a macrol of this mould?

01  Create a rectangle

02    create a wedge on the rectangle

03    Create a slash in the surface

04  Create  a datum   by the diagonal and wedge vertex

05

06  Subtracted the wedge datum of above parts

07

08  bending

SolidworksApi macros