The article is from:
2014 SOLIDWORKS API Help - SetDocumentSaveToNames Method (IPackAndGo)
and the example points you here: Pack and Go an Assembly (VBA):
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