PDF export via script

Hello

I want to export my . DWG in .PDF (via PDFCreator) with the tab name of my file and not with the file name, (all this through a script, if possible).

Let me explain, I have created several Technical Sheets in a single file. DWG, when exporting one of the sheets, I have to systematically rename the file by hand because the title of the file does not correspond to all the Technical Sheets. (doing it 5-6 times is fine but 70 times is redundant)

Is there a way to change the name of the file with that of my tab during the export so that it is in line with my technical sheet. 

Thank you in advance.

 

Hello

You can look at this example: http://help.solidworks.com/2019/english/api/draftsightapi/Save_Current_View_to_PDF_Example_VBA.htm

See you.

1 Like