hwISession GetSystemVariable

Accesses application information.

Syntax

hwISession_handle GetSystemVariablename

Application

HyperWorks Tcl Query

Description

Returns the value associated with the given variable name.

Inputs

name
The application variable name (key). See below.
Below is a list of the available variable names. Variable names are case-sensitive. All returned paths are platform dependent for the current platform.
"ALTAIR_HOME"
Path to the installation directory.
"NAME"
Name of the current HyperWorks product.
"TITLE
Version title of the HyperWorks product.
"VERSION
Release version (not beta version).
"CURRENTWORKINGDIR
Gets the current working directory.
"EXECUTABLEPATH
Full executable path to the current HyperWorks product.
"EXECUTABLEDIR
Bin directory for the current HyperWorks product.
"hw_tcl_common
Tcl installation directory installed with HyperWorks.
"tcl_lib
Tcl libraries directory under the Tcl installation directory installed with HyperWorks.
"tk_lib
Tk libraries directory under the Tcl installation directory installed with HyperWorks.
"hw_readers"
Direct readers directory for the animation client.
"hm_feinput_readers
Import translators directory for HyperMesh and the FE Model client.
"hm"
Path to the HyperMesh executable.
"hm_mac"
Path to the HyperMesh root macro file.
"TEMPLATES_DIR"
Path to the templates directory.
"hm_user_profiles"
Path to the HyperMesh UserProfiles directory.
"HSTBIN_DIR"
Path to the HyperStudy bin directory.
"study_proxy_path"
Path to the HyperStudy bin directory.
"PREFERENCES_HYPERSTUDY"
Full path to the current preferences file used by HyperStudy.
"DOE_DESIGNS_DIR"
Path to the HyperStudy doe_designs directory.
"mv_solver_writers"
Path to the MotionView bin directory.
"hw_old_readers"
Path to the emi directory under the externalreaders directory, which contains the readers for the animation client in HyperWorks 5.1
"altair_lic.dat"
Path to the license file.
"hm_dll_readers"
Path to the bin directory under HyperMesh.
"hm_scripts_dir"
Path to the scripts directory under HyperMesh.
"hyperbeam_dir"
Path to HyperBeam.
"wish"
Path to the Tcl wish executable.
"EXTERNALREADERS_DIR"
Path to the directory containing the external readers for the plot client.
"EXTERNALWRITERS_DIR"
Path to the directory containing the external writers for the plot client.
"EXTERNALFUNCS_DIR"
Path to the directory containing the external math functions for the plot client.
"export_templates_dir"
Path to the directory containing the curve export templates for the plot client.
"standard_statistics_template"
Path to the stats.tpl template file
"hw_help_dir"
Path to the help directory under the HyperWorks installation.
"nastran_to_abaqus_converter"
Directory containing the Nastran to Abaqus converter.
"jre_path"
Directory containing the JAVA installation under the HyperWorks installation.
"epic_path"
Epic root directory.
"hws_path"
Path to the libraries under the hw directory.
"ARCHITECTURE"
Returns the operating system name (for Unix only).
"XDISPLAYNAME"
Returns the display name (for Unix only).

Errors

None.