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

AVEVA™ Engineering

PROJECT Object

  • Last UpdatedMar 24, 2023
  • 1 minute read

Members

Name

Type

Purpose

Name

STRING

The name of the Project, up to 120 characters.

Evar

STRING

Project environment variable, for example, 'SAM000'.

Type()

REAL

Returns a REAL which represents the Project type, 0 being Plant and 1 being Marine.

Methods

Name

Result

Purpose

Active()

REAL

Number of active Users of the Project.

Code()

STRING

Project code, three characters, for example, 'SAM'.

Description()

STRING

Project description, up to 120 characters.

Mbcharset()

STRING

Multi-byte character set number.

Message()

STRING

Project message (information about the project), up to 120 characters.

Name()

STRING

Project name.

Number()

STRING

Project number, up to 17 characters.

Isglobal()

BOOLEAN

Whether Project is a Global Project.

Locations()

ARRAY OF LOCATION

Returns array of all Locations in Project.

CurrentLocation()

LOCATION

Returns true current location.

Sessions()

ARRAY OF SESSIONS

Returns array of all Sessions (at the current location).

CurrentSession()

SESSION

Returns current Session (at the current location).

Dblist()

ARRAY OF DB OBJECTS

List of databases in the project.

MDBList()

ARRAY OF MDBS

Returns array of all MDBs in Project at current location.

UserList()

ARRAY OF USERS

Returns array of all USERs in Project at current location.

Macros()

ARRAY OF MACROS

Returns array of all Inter-db macros in MISC db in Project at current location.

Messages()

ARRAY OF STRINGS

Returns array of all messages in MISC DB at current location.

Commands

!ARRAY = PROJECTS

$ Returns an array of all PROJECT objects.

$ which have project environment variables set.

!PROJECTVAR = CURRENT 
PROJECT

$ Returns the current project object.

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