I saw long time ago swp file for part creation i.e. plate with holes.
After start of macro, I've been asked for all dimensions and quantity of holes stem by step.
I saw that file on some of forum with parts for engineers, but I don't remember which forum was that.
SolidworksApi/macros