Retrieve or set the current project

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Examples >

Retrieve or set the current project

To obtain or change the value of the current project, you've to read/write the PROJECT_ID option.

Example

get current project value:

currentProj = DBWGetOption("PROJECT_ID")

set a current project:

DBWSetOption "PROJECT_ID", "MyProjectName"