SetDocumentSaveToNames - Does anyone know if there is a functioning macro for this example from the SolidWorks Knowledge Base?

The article is from:

2014 SOLIDWORKS API Help - SetDocumentSaveToNames Method (IPackAndGo)

and the example points you here: Pack and Go an Assembly (VBA):

https://forum.solidworks.com/external-link.jspa?url=http%3A%2F%2Fhelp.solidworks.com%2F2014%2Fenglish%2Fapi%2Fsldworksap…

I'm using SolidWorks 2016 and I believe that a 'False' is being thrown out on this line:

status = swPackAndGo.SetDocumentSaveToNames(pgSetFileNames)

which I believe is stopping it from working correctly?

The prefixes and suffixes are being applied correctly, but it's not renaming the original files to incrementing numbers.

Cheers,

Will

SolidworksApi/macros