2 Replies Latest reply on Oct 17, 2016 9:56 AM by John Stoltzfus

    How to Saving Drawing Sheets in eDrawings Files with API

    Yong Ning

      Help me, While Save eDrawings File, don't dialogbox.with API?




      In the dialog box, select one of the following:

      Current sheet.

      All sheets.

      Selected sheets. Select from the list below.



      Dim sFileName As String, nErrors As Long, nWarnings As Long

          SwApp.SetUserPreferenceIntegerValue swEdrawingsSaveAsSelectionOption, swEdrawingSaveAll

          SwModel.SaveAs4 sFileName, swSaveAsCurrentVersion, swSaveAsOptions_Silent, nErrors, nWarnings