Log Messages
- Last UpdatedOct 27, 2023
- 1 minute read
To write any message to the Log Data from any PML function use:
!!pipeSketchesLog(‘Text of your choice’)
To clear the messages from the Log Data use:
!!pipeSketch.emptyLogData()
To write to the log file use:
|
!!pipeSketch.logFile |
= object FILE(‘%PDMSUSER%/pipeSketches.txt’) |
|
!!pipeSketch.openLogFile() |
|
|
!!pipeSketch.writeLogFile() |
‑ This write the contents of .log Data to the .logFile |
|
!!pipeSketch.closeLogFile() |