hm_getresults
Returns results data.
Syntax
hm_getresults id=<value> ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Query Command
Description
Returns results data.
<option>=<value> options can be provided in any order.
Inputs
- id=<value>
 - The ID of the result entity to query.
 - contour=<value>
 - 0 - Do not contour
 - dataname=<value>
 - The query data type. Valid values are:
 - dataset=<value>
 - The data type scalar, tensor or vector.
 - derived_subcase_id=<value>
 - The subcase ID for derived subcases of type envelope or lsp.
 - fileid=<value>
 - The file ID corresponding to the unique ID of the result file from the result entity.
 - fileid_subcase=<value>
 - The unique combinations for considering multiple subcases, separated by colons. For example 1:1,2:1,3:1,4:2
 - resultcomponent=<value>
 - The component when dataset is tensor or vector.
 - step=<value>
 - The step index for a given subcase.
 - subcase=<value>
 - The subcase ID within the result file.
 - type=<value>
 - The derived loadcase type, either envelope or lsp (linear superposition).
 - xml=<value>
 - The complete file path of the XML file that holds the inputs for results query.
 
Example
hm_getresults id=1 dataset="Stress" resultcomponent="VonMises" fileid="1" subcase=1 step=0 contour=1hm_getresults id=1 type=envelope dataname=UniqueDerivedSubcasehm_getresults id=1 fileid=3 subcase=5 dataname=complex_filterhm_getresults id=1 fileid_subcase=1:1,2:1,3:1,4:2 dataname=complex_filterErrors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
2019.1