hm_getinternalname

Returns the internal name for the specified pool string/pool ID and solver name.

Syntax

hm_getinternalname id_pool solver_name search_type

Type

HyperMesh Tcl Query Command

Description

This command returns the internal name for the specified pool string/pool ID.

Inputs

id_pool
The pool ID or name. By default, the value is assumed to be the pool ID. This is controlled by the optional search_type argument.
solver_name
The entity solver name.
search_type
Defines whether id_pool is specified as a pool name or a pool ID. Valid values are -bypoolid and -bypoolname. If not specified, it defaults to -bypoolid.

Examples

To get the internal name of the node set with solver name S1 by specifying the pool name:
hm_getinternalname nset_idpool S1 -bypoolname

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.2