hm_getmaxgapwidth
Returns the approximate maximum distance between a pair of node lists.
Syntax
hm_getmaxgapwidth list_id1 list_id2
Type
HyperMesh Tcl Query
Description
Returns the approximate maximum distance between a pair of node lists. This is useful for determining the gap width to be used for filling the gap between the node lists.
Inputs
- list_id1
- The ID of the first node list. Valid values are 1 and 2.
- list_id2
- The ID of the second node list. Valid values are 1 and 2.
Examples
To get the maximum gap width between two node lists:
*createlist nodes 1 1-20
*createlist nodes 2 45-80
hm_getmaxgapwidth 1 2
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
14.0.130