hm_ce_gethmholes

Get bolt holes information from components.

Syntax

hm_ce_gethmholes mark upbound lowbound outerFlag elementFlag orderFlag

Type

HyperMesh Tcl Query Command

Description

Get bolt holes information from components.

Inputs

mark
Component mark
upbound
Maximum diameter to be considered a bolt hole
lowbound
Minimum diameter to be considered a bolt hole
outerFlag
Output the nodes of the outer circle around bolt holes (yes = 1, no = 0)
elementFlag
Output the elements around bolt holes (yes = 1, no = 0)
orderFlag
Output nodes in order (yes = 1, no = 0)

Example

To get the bolt holes between 0.0 to 15.0 from comps 1, 2:

*createmark(comps, 1) 1, 2
hm_ce_gethmholes 1 15.0 0.0 0 0 0
The results—Including componet ids, the centers of bolt holes, and node ids around bolt holes—would look like this:
{1 {{4.69760749465 -4.81066850679 5.0} {3107 4357 4359 4363 4361 4370 4376 4368 4366 3300 4369 4371 4364}} 
{{-5.75024512823 4.10484549438 5.0} {3108 4383 4390 4389 4397 4392 4398 4386 4387 4388 4384 3152 4385}} 
} 
{2 {{4.69760749465 -4.81066850679 0.0} {1768 1769 1770 1771 1772 1760 1761 1762 1763 1764 1765 1766 1767}}
}

Errors

None.