poIResultMathCtrl GetAlias
Gets the alias string for the passed string.
Syntax
rmath_handle GetAlias delim str
Application
HyperView Tcl Query
Description
This command retrieves the alias string corresponding to the input string. This string is
used by the result math expression builder to display a table specification in short hand
form. In order for this command to work, the input string should contain the following six
values:
- Resource name
- Subcase ID
- Simulation index
- Datatype name
- Datacomponent name
- Layer name
Note: If you do not want to specify a particular field for a table specifier, that
field must be left blank. See the usage of this command for the bumper d3plot model in the
example section below.
Inputs
- delim
- The delimiter string used to separate the different fields of a table specification.
- str
- The input string for the desired alias.
Example
To create a selection set containing all nodes and make it visible in the graphics
area:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
set mid [client_handle AddResultMathAnalysis "c:/samples/bumper/d3plot" "c:/samples/bumper/d3plot"]
client_handle GetModelHandle model_handle $mid
model_handle GetResultCtrlHandle result_handle
result_handle GetResultMathCtrlHandle rmath_handle
rmath_handle GetAlias "#" "Model#1#4#Stress#XX#Lower#"
rmath_handle GetAlias "~" "Model~1~3~Stress~ ~ ~"
hwi CloseStack
Errors
Returns an empty string if an error occurs.