*messagefilefilter
Sets a filter on the type of messages written when using the *messagefileset command.
Syntax
*messagefilefilter type filter
Type
HyperMesh Tcl Modify
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:
- 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:
Example
To save all FE-input error messages to a file named C:/test.dat:
*messagefileset "feinput" "C:/test.dat"
*messagefilefilter "feinput" "error"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10-SA1-120