.NET Framework Class Library
CADSystem.TrackEvents Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > CADSystem Class > CADSystem Methods >

.NET Framework Class Library
CADSystem.TrackEvents Method

Activate/deactivate the event system of the Mechworks PDM, enabling a script to AVOID the automatic recording when saving

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

Syntax

Visual Basic

Public Sub TrackEvents ( _

enableMode As String, _
Optional setAsPermanent As String = "" _
)

C#

public void TrackEvents(

string enableMode,
string setAsPermanent = ""
)

Visual C++

public:

void TrackEvents(
String^ enableMode,
String^ setAsPermanent = L""
)

JavaScript

function trackEvents(enableMode, setAsPermanent);

Parameters

enableMode

Type: System.String
"1": enables the event system, "0": disables the event system

setAsPermanent (Optional)

Type: System.String
Optional. "1": if EnableMode is "0" (no tracking), it doesn't restart tracking when the script is terminated.

Remarks

Available starting from R15 release.

See Also

CADSystem Class

CADSystem Members

MwPDMApi Namespace