HyperMesh Startup Options
Startup options launch HyperMesh with specific behaviors or with specific settings defined.
- -a<subprofile_name>
- Used in conjunction with -u<profile> to specify a
user profile sub-profile at startup.Note: There is no space between -a and the subprofile name.
- -batch
- Used in conjunction with the -tcl or -c options to enable batch mode. HyperMesh will exit immediately upon completion of the Tcl script or command file.
- -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.Note: 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.
- -g
- Force the display of the User Profile dialog at startup.
- -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.
- -nouserprofiledialog
- Prevent the display of the User Profile dialog at startup.
- -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.Note: There is no space between -r and the filename.
- -s<width>x<height>+<x>+<y>
- Opens HyperMesh in a window of the specified width and height in pixels.
- -templex
- Allow Templex statements within command files.
- -t<template_filename>
- Set the global template to the specified file.Note: There is no space between -t and the filename.
- -tcl <tcl_filename>
- Automatically run the specified Tcl script.Note: There is a space between -tcl and the filename.
- -u<profile_name>
- Used to specify a user profile at startup. Note: There is no space between -u and the profile name.
- -version
- Print out the HyperMesh version.
Example: Startup Options
- Windows
- <altair_home>/hm/bin/<platform>/hmopengl.exe -uOptiStruct -tcl /home/user/my_script.tcl
- Linux
- <altair_home>/altair/scripts/hm -uOptiStruct -tcl /home/user/my_script.tcl