.NET Framework Class Library
CADSystem.SaveAsEDrawing Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > CADSystem Class > CADSystem Methods >

.NET Framework Class Library
CADSystem.SaveAsEDrawing Method

Saves with a eDrawing specified name the currently opened file in CAD application.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function SaveAsEDrawing ( _

 fullFileName As String, _
 Optional saveAsCopy As Boolean = False, _
 Optional saveAllSheets As Boolean = True _
As ShellResult

C#

public ShellResult SaveAsEDrawing(

 string fullFileName,
 bool saveAsCopy = false,
 bool saveAllSheets = true
)

Visual C++

public:

ShellResultSaveAsEDrawing(
 StringfullFileName,
 bool saveAsCopy = false,
 bool saveAllSheets = true
)

JavaScript

function saveAsEDrawing(fullFileNamesaveAsCopysaveAllSheets);

Parameters

fullFileName

Type: System.String
full name of the EDRW file to save

saveAsCopy (Optional)

Type: System.Boolean
Optional. TRUE performs ‘save as copy’ of the currently activated document, FALSE otherwise

saveAllSheets (Optional)

Type: System.Boolean
Optional. TRUE export all the sheets of the opened drawing, FALSE export only the current sheet of the opened drawing. Default True.

Return Value

Shell result object. For SolidWorks, the following items are available: "@SWSAVEAS_SOLIDWORKS_ERROR", "@SWSAVEAS_SOLIDWORKS_ERROR_STRING", "@SWSAVEAS_SOLIDWORKS_WARNING"

Remarks

See Also

CADSystem Class

CADSystem Members

MwPDMApi Namespace