Saving a Drawing as the Name of the configuration name of the part in it.

I'm trying to export a drawing to pdf, and require the name of the exported drawing to be the same as the configuration name of the part in it.

I've managed to make it save to PDF, but can't change the file name to the configuration name.

Any help would be appreciated.

SolidworksApi/macros