.NET Framework Class Library
CADSystem.Save3 Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > CADSystem Class > CADSystem Methods >

.NET Framework Class Library
CADSystem.Save3 Method

Saves 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 Save3 ( _

 Optional okUpdateLastModifiedFileDate As Boolean = True, _
 Optional forceRebuildAll As Boolean = True _
As ShellResult

C#

public ShellResult Save3(

 bool okUpdateLastModifiedFileDate = true,
 bool forceRebuildAll = true
)

Visual C++

public:

ShellResultSave3(
 bool okUpdateLastModifiedFileDate = true,
 bool forceRebuildAll = true
)

JavaScript

function save3(okUpdateLastModifiedFileDateforceRebuildAll);

Parameters

okUpdateLastModifiedFileDate (Optional)

Type: System.Boolean
Optional. If FALSE, the save is executed without updating the database LAST_MODIFIED_FILE_DATE

forceRebuildAll (Optional)

Type: System.Boolean
Optional. If TRUE, it forces the rebuild of all the geometry and configurations in the active model

Return Value

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

Remarks

In order to fully disable any database update when using the Save method, the TrackEvents("0") needs to be invoked before the call. Available starting from R17 release.

See Also

CADSystem Class

CADSystem Members

MwPDMApi Namespace