HyperWorks Desktop

HyperMesh Startup Options

HyperMesh Startup Options

Previous topic Next topic No expanding text in this topic  

HyperMesh Startup Options

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

Startup options allow HyperMesh 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.

For example, on Windows:

<altair_home>/hm/bin/<platform>/hmopengl.exe -uOptiStruct -tcl /home/user/my_script.tcl

For example, on Linux:

<altair_home>/altair/scripts/hm -uOptiStruct -tcl /home/user/my_script.tcl

 

HyperMesh Startup Options


-a<subprofile_name>

Used in conjunction with -u<profile> to specify a user profile sub-profile at startup.  Notice that there is no space between -a and the subprofile name.

For example: -uAbaqus -aStandard3d

-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.  Notice that 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.tcl file.

-nouserprofiledialog

Prevent the display of the 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.  Notice that 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.

Optionally, the x and y location of the upper left corner of the window can be specified.  Notice that there is no space between -s and between any of the arguments.

-templex

Allow Templex statements within command files.

-t<template_filename>

Set the global template to the specified file.  Notice that there is no space between -t and the filename.

-tcl <tcl_filename>

Automatically run the specified Tcl script.  Notice that there is a space between -tcl and the filename.

-u<profile_name>

Used to specify a user profile at startup.  Notice that there is no space between -u and the profile name.

For example: -uAnsys

-version

Print out the HyperMesh version.

See Also:

Starting HyperWorks Desktop Applications

Start-in Directory