HyperWorks Desktop

HM_COMMANDFILE_MODE

HM_COMMANDFILE_MODE

Previous topic Next topic No expanding text in this topic  

HM_COMMANDFILE_MODE

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


HM_COMMANDFILE_MODE - Sets the mode to write the command.tcl file.

 

SYNTAX


HM_COMMANDFILE_MODE mode

 

TYPE


HyperMesh Environment Variable

 

DESCRIPTION


Sets the mode to write the command.tcl 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 HM 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 HM session will have its own local command file.

 

EXAMPLES


To set the mode to UNIQUE:

HM_COMMANDFILE_MODE UNIQUE

 

ERRORS


None.

 

SEE ALSO


HM_COMMANDFILE_DIR

Settings Files

Environment Variable Commands