hm_getmarkfromtable

Returns the entity IDs from the specified table.

Syntax

hm_getmarkfromtable table_name

Type

HyperMesh Tcl Query Command

Description

This command returns the list of entity IDs that exist in the table with table_name.

Example

To create a table named elem_table containing elements in the component wingbox and retrieve the values from the table:

*createmark elems 1 all
hm_marktotable elems 1 elem_table
set elems [hm_getmarkfromtable elem_table]

Errors

If table_name is invalid, you will get the following error:
hm_getmarkfromtable: the table 'table_name' was not found.
Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}