Log Messages
- Last UpdatedDec 11, 2023
- 1 minute read
To write any message to the Log Data from any PML function use :
!!hvacSketchesLog('Text of your choice')
To clear the messages from the Log Data use:
!!hvacSketch.emptyLogData()
To write to the log File use:
|
!!hvacSketch.logFile |
= object FILE('%AVEVA_DESIGN_USER%/hvacSketches.txt') |
|
!!hvacSketch.openLogFile() |
|
|
!!hvacSketch.writeLogFile() |
- This write the contents of .logData to the .logFile |
|
!!hvacSketch.closeLogFile() |