HyperWorks Desktop Startup Options
Startup options launch HyperWorks Desktop with specific behaviors or with specific settings defined.
The options are provided as command line options to the application executable or startup script.
HyperWorks Desktop
- -b
- Used in conjunction with either the -tcl or -c options to enable batch mode. HyperWorks Desktop will exit immediately upon completion of the Tcl script or command file.
- -clientconfig <client_config_filename>
- Specifies the client configuration file to load, which defines the client that is loaded and which clients are available. If no file is specified, the default clients.dat file is used.
- <filename>
- Performs various behaviors, depending on the value of -clientconfig.
- Known Result Files: Start HyperWorks Desktop with the HyperView client and load the result file as both model and result files
-
- -clientconfig hwtext.dat
- .mvw files - Load the .mvw file. The active client is determined from the .mvw file.
- -clientconfig hwvideo.dat
- .mvw files - Load the .mvw file. The active client is determined from the .mvw file.
- -clientconfig is not specified
- .mvw files - Load the .mvw file. The active client is determined from the .mvw file.
- Known Result Files: Automatically use -clientconfig hwpost.dat and load the result file as both model and result files
-
- -clientconfig hwpost.dat
- .txt, .html, .tpl files - Automatically use -clientconfig hwtext.dat and load the text file.
- -f <filename>
- Same as <filename>.
- -h
- Print out the HyperWorks Desktop usage message.
- -landscape
- Used in conjunction with the -p option to print all pages in a landscape orientation.
- -nobg
- Used in conjunction with the -b option to force HyperWorks Desktop to run in the foreground on Linux.
- -p <mvw_file> [ps_file]
- Prints all pages in mvw_file with the specified orientation. If ps_file is specified, instead of going to the printer, the pages are printed to a Postscript file named ps_file.
- -portrait
- Used in conjunction with the -p option to print all pages in a portrait orientation.
- -s <width>x<height>+<x>+<y>
- Opens HyperWorks Desktop in a window of the specified width and height in pixels.
- -tcl <tcl_filename>
- Automatically run the specified Tcl script. Note: There is a space between -tcl and the filename.
- -version
- Print out the HyperWorks Desktop version.
- -wait
- Used in conjunction with the -b option to wait for a key press before exiting if running under Windows.
HyperMesh Client
- -a<subprofile_name>
- Used in conjunction with -u<profile> to specify a
HyperMesh user profile sub-profile.
Note: There is no space between -a and the subprofile name.
- -batchcontext
- Used in conjunction with the -b 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.
- -g
- Force the display of the HyperMesh user profile dialog at startup.
- -nobatchcontext
- Used in conjunction with the -b option to not setup an OpenGL batch context. This is required for machines that cannot use a batch context to successfully run HyperMesh.
- -nocommand
- Prevent HyperMesh from creating or writing to the command.tcl file.
- -nouserprofiledialog
- Prevent the display of the HyperMesh user profile dialog at startup.
- -nowriteviewcommands
- Prevent HyperMesh from writing view commands to the command.tcl 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.
- -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.
- -u<profile_name>
- Used to specify a HyperMesh user profile at
startup. Note: There is no space between -u and the profile name.
Example: Startup Options
- Windows
- <altair_home>/hw/bin/<platform>/hw.exe -clientconfig hwfepre.dat -tcl /home/user/my_script.tcl
- Linux
- <altair_home>/altair/scripts/hw -clientconfig hwfepre.dat -tcl /home/user/my_script.tcl