DRAW Reference Manual
Additional Customisation
: Load Sheet to Memory in TTY Mode
Load Sheet to Memory in TTY Mode
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 PmlRevisionControlobject. Refer to
PML Customisation 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
Accessing 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.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.