hm_morph_getnodehandle

Returns the handle ID for the specified node if a handle exists at that node.

Syntax

hm_morph_getnodehandle node_id

Type

HyperMesh Tcl Query Command

Description

Returns the handle ID for the specified node if a handle exists at that node.

Inputs

node_id
The ID of the node to query.

Example

To get the handle ID for a node with ID 2:

hm_morph_getnodehandle 2

Errors

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