HyperMesh Batch Startup Options

Startup options allow HyperMesh Batch to be launched with a specific behavior or with specific settings defined.

The options are provided as command line options to the application executable or startup script.
-batchcontext
Used in conjunction with the -batch option to setup an OpenGL batch context. This is required for machines that require the context to successfully run HyperMesh. The DISPLAY environment variable must be defined and working in order to use this option.
-c<command_filename>
Automatically run the specified command file.
Notice: There is no space between -c and the filename.
-continue
Always continue (do not prompt) on errors when processing a command file.
<filename>
Automatically load the specified .hm file.
-h
Print out the HyperMesh usage message.
-nobatchcontext
Used in conjunction with the -batch option to not setup an OpenGL batch context. This is required for machines that cannot use a batch context to successfully run HyperMesh.
-nobg
Used in conjunction with the -batch option to force HyperMesh to run in the foreground on Linux.
-nocommand
Prevent HyperMesh from creating or writing to the command file.
-nowriteviewcommands
Prevent HyperMesh from writing view commands to the command file.
-r<result_filename>
Set the name of the HyperMesh results file to either the input filename with a .res suffix, or to the specified file.
Notice: There is no space between -r and the filename.
-templex
Allow Templex statements within command files.
-t<template_filename>
Set the global template to the specified file.
Notice: There is no space between -t and the filename.
-tcl <tcl_filename>
Automatically run the specified Tcl script.
Notice: There is no space between -tcl and the filename.
-version
Print out the HyperMesh version.

Example: Startup Options

Windows
<altair_home>/hm/bin/<platform>/hmbatch.exe -tcl /home/user/my_script.tcl
Linux
<altair_home>/altair/scripts/hmbatch -tcl /home/user/my_script.tcl -nobg