AnsweredAssumed Answered

How to export special Sheets of a drawing to PDF?

Question asked by Langenberg Janik on Oct 5, 2016
Latest reply on Jun 19, 2018 by Deepak Gupta

I tried to export a defined array of sheets of a drawing like shown here: 2013 SOLIDWORKS API Help - Save File as PDF Example (VBA)


But with the following code value always gets FALSE:


strSheetName(0) = "Blatt1"

strSheetName(1) = "DXF"


varSheetName = strSheetName

value = IExportPDFDataObject.SetSheets(swExportData_ExportSpecifiedSheets, varSheetName)


The names of the sheets is correct. Instead of an automatic export I get a litte windows to select the sheets in the futher program.

Is it generally possible?