hm_ishistorysupported

Returns the history support level for the specified command.

Syntax

hm_ishistorysupported command

Type

HyperMesh Tcl Query Command

Description

Returns the history support level for the specified command. The return values are as follows:
  • -1 - Command does not modify the database and therefore does not affect history
  • 0 - Command is not supported for history
  • 1 - Command is supported for history

Inputs

command
The name of the HyperMesh Tcl Modify Command command to query.

Example

To query the support level of *displaynone:

hm_ishistorysupported *displaynone

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

14.0