hm_errormessage

Displays a custom error message in the status bar.

Syntax

hm_errormessage message ?wait?

Type

HyperMesh Tcl GUI Command

Description

Displays a custom error message in the status bar.

Inputs

message
The custom message to display.
?wait?
The optional time in seconds to wait after displaying the message before proceeding.

Example

hm_errormessage "Please select one or more elements."

Errors

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