hm_ispointinsidesolidelem

Checks whether a point is inside the volume of a solid element.

Syntax

hm_ispointinsidesolidelem x y z elem_id

Type

HyperMesh Tcl Query Command

Description

This command returns 1 if the point is found to be inside the solid element and 0 otherwise.

Inputs

x , y , z
The (x,y,z) coordinates of the point.
elem_id
The ID of the solid element.

Example

To check whether the point with coordinates 10, 20, 30 is inside the solid element with ID 1:

hm_ispointinsidesolid 10 20 30 1

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

12.0.110