.NET Framework Class Library
DataEntrHelper.GetDefaultProject Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > DataEntrHelper Class > DataEntrHelper Methods >

.NET Framework Class Library
DataEntrHelper.GetDefaultProject Method

Retrieves the default project name for the drawing based on script context.

If the Category Wizard was shown, this returns the project selected by the user (choosed_project). Otherwise, it defaults to the project passed into the script via DBWInput("@CURRENT_PROJECT").

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

Syntax

Visual Basic

Public Function GetDefaultProject As String

C#

public string GetDefaultProject()

Visual C++

public:

StringGetDefaultProject()

JavaScript

function getDefaultProject();

Return Value

The resolved default project name.

See Also

DataEntrHelper Class

DataEntrHelper Members

MwPDMApi Namespace