AnsweredAssumed Answered

How to Saving Drawing Sheets in eDrawings Files with API

Question asked by Yong Ning on Oct 5, 2016
Latest reply on Oct 17, 2016 by John Stoltzfus

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