PML Customisation
User Guide
Using PML in AVEVA Products
:
Using PML in AVEVA E3Dâ„¢
: Accessing Information About a Session
Accessing Information About a Session
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
.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.