Is this possible? (sorry for the vague title)

I would like to know if its possible to write a macro that would do the following:-

      

taking the overall size of an item (in this instance the side plate of a skip) sheets buying size

      I already have the formula's needed to work this out on the side plates sketch but it's not automated (you currently have to manually drag 1 line on the sketch)

If so it's worth me learning about visual basic - if not I've other things to do.

We're using Solidworks 14 on windows 7 64bit if that makes any difference.

SolidworksApi macros