*messagefilefilter

Sets a filter on the type of messages written when using the *messagefileset command.

Syntax

*messagefilefilter type filter

Type

HyperMesh Tcl Modify Command

Description

Sets a filter on the type of messages written when using the *messagefileset command.

Inputs

type
The type of message to filter. This should match with the value set in *messagefileset. Valid values are:
FEINPUT - any messages passed to
HM by an FE-input processes. HM - all supported type values.
filter
A list consisting of the messages to filter to the file. Multiple values can be specified. The list should be enclosed in quotes. Valid values are:
ERROR - error messages
INFORMATION - information messages
WARNING - warning messages

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