HM_COMMANDFILE_MODE

Sets the mode to write the command file.

Syntax

HM_COMMANDFILE_MODE mode

Type

HyperMesh Environment Variable

Description

Sets the mode to write the command file.
mode
APPEND
Any existing command file is appended to. If one does not exist, a new one is created. This is the default/legacy behavior.
OVERWRITE
Any existing command file is overwritten instead of appended to. The overwrite only happens at the start of the HyperMesh session, not for each command.
UNIQUE
A new command file is generated with the name command_<timestamp>_<username>.tcl (or .cmf as appropriate). <timestamp> is of the format MM-DD-YYYY_HH-MM-SS, and HH is in 24 hour time for uniqueness to be guaranteed. <username> is the system user name, or UnknownUser if the user name cannot be determined. For example, command_03-23-2015_10-34-15_myname.tcl or command_03-23-2015_10-34-15_myname.cmf. This mode means every HyperMesh session will have its own local command file.

Examples

To set the mode to UNIQUE: HM_COMMANDFILE_MODE UNIQUE.

Errors

None.