hm_getbatchparams

Query the values of global mesh parameters.

Syntax

hm_getbatchparams param1 ?param2? ?param3? ... ?paramN?

Type

HyperMesh Tcl Query Command

Description

Query the values of global mesh parameters.

Inputs

param
The name of the parameter to query. Valid values can be found in *batchparams_update.
There are also a few special considerations:
solid_holes_table = {row_id=<value}
row_id is the index of the row (record) to query inside the table. If not specified, the entire table is returned.
surface_fillets_table = {row_id=<value}
row_id is the index of the row (record) to query inside the table. If not specified, the entire table is returned.
surface_holes_table = {table_id=<value> row_id=<value}
table_id is the index of the table to query. If set to -1, the default surface hole table is used. For coordinates tables, the index starts with 0.
row_id is the index of the row (record) to query inside table_id. If not specified, the entire table with the specified table_id is returned.

Examples

To query the 3rd row of the first coordinate hole table:

hm_getbatchparams surface_holes_table = {table_id = 0 row_id = 2}

To query the entire default 2D holes table:

hm_getbatchparams surface_holes_table = {table_id = -1}

To query the 2nd row of the fillet table:

hm_getbatchparams surface_fillets_table = {row_id = 1}

To query the element size and element type:

hm_getbatchparams element_size element_type

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2021