9 Replies Latest reply on Feb 16, 2017 5:53 AM by David Brill

    How to save as PDF in VB.net

    David Brill

      Hi guys,

       

      I've been try to get the example shown here to work for me in Visual Studio.

      However, it seems to have an issue finding the following data types:

                        Dim swExportPDFData As ExportPdfData

              Dim swModel As ModelDoc2

              Dim swModExt As ModelDocExtension

              Dim swDrawDoc As DrawingDoc

       

      and on importing it can't find:

      Imports SolidWorks.Interop.sldworks

      Imports SolidWorks.Interop.swconst

       

      Im currently running Solidworks 2017 SP 0

       

      Thank you for reading, any help would be greatly appreciated!