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

AVEVA™ E3D Design

Load Sheet to Memory in TTY Mode

  • Last UpdatedApr 27, 2023
  • 1 minute read

The PmLoadSheet object can be used to load the graphical representation of a SHEE element to the memory. This is necessary before certain other objects can be used in TTY mode, for example, the PmlRevisionControl object. Refer to PML Customization Support for Revision Control Snapshot Capability for further information. Loading a sheet in graphical mode using PmlLoadSheet is also possible, this does not cause the sheet to be displayed on the canvas. Refer to Access DRAW 2D View for further information.

Only one sheet can be loaded at any time, irrespective of how many PmlLoadSheet objects are created. Loading a second sheet causes the first sheet to close. It is important to call the Close() method when finished to free resources associated with the sheet. PmlLoadSheet can also be used in graphical mode, although other pml objects will always use the current canvas sheet (if any) in preference over a sheet loaded via the pml object.

import 'Aveva.Pdms.SDInteraction.UI'

using namespace 'Aveva.Pdms.SDInteraction.UI.Process'

!sheetloader = object PmlLoadSheet()

Name

Arguments

Result Type

Purpose

Open(STRING)

The SHEE name.

none

Loads the graphical representation of the SHEE element to memory.

A PML error may be displayed (40,154).

Open(DBREF)

The SHEE element DBREF object.

none

Loads the graphical representation of the SHEE element to memory.

A PML error may be displayed (40,154).

Close()

none

Closes the current sheet.

Current()

DBREF

Displays the DBREF for the current sheet.

If the DBREF is not set, <DBREF> Unset is displayed.

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