hm_holedetectionidentifyhole

Returns the hole index for a given node or line.

Syntax

hm_holedetectionidentifyhole id

Type

HyperMesh Tcl Query

Description

Returns the hole index for a given node or line. This must be preceded by a call to hm_holedetectionfindholes.

Inputs

id
The ID of the node or line to query.

Example

To query the hole associated with surface edge 123:

hm_holedetectioninit
*createmark surfs 1 all
hm_holedetectionsetentities surfs 1
hm_holedetectionsetholeparams hole_shape=31 
hm_holedetectionfindholes 1
set h [hm_holedetectionidentifyholes 123]
hm_holedetectionend
close $holesfile

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

2019