*messagefileset

Writes certain messages to a file.

Syntax

*messagefileset type file

Type

HyperMesh Tcl Modify Command

Description

Writes certain messages to a file. All values below are case insensitive.

Inputs

type
The type of message to write. Valid values are:
FEINPUT - any messages passed to HM by an FE-input processes.
HM - all supported type values.
file
The full path and filename of the file to write the messages to.

Example

To save all FE-input error messages to a file named C:/test.dat:

*messagefileset "feinput" "C:/test.dat"
*messagefilefilter "feinput" "error"

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

10-SA1-120