Macro for weld numbering

Hi,

Does any one have a macro they could share that looks at a drawing and identifies a weld symbol and adds a unique number to it.

So if my drawing had 50 weld symbols it would number them 001 to 050.

I know I can add this number when defining the weld but looking for some sort of automation.

If it is possible then could it be supplied as macro not the script, as I don't know much about macro's and don't want to be copying and pasting.

Also note that I am running SolidWorks 2016 sp3.

See screen shot to see where I manually add numbers.

Thanks

Mark

SolidworksApi macros