Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Accessing Information About a Session

  • Last UpdatedOct 24, 2022
  • 1 minute read

A number of special commands have been provided to set a PML variable with information about the current session. The commands are:

Current Session

Sessions

Projects

Teams

Users

MDBs

DBs

These commands can be used as in the following example. The SESSION object has a method that returns name of the MDB in the current session. Hence:

!C = current session

!CurrentMDB = !C.MDB()

This will set !CurrentMDB to the name of the current MDB.

TitleResults for “How to create a CRG?”Also Available in