hm_getgeometrynodes

Get a list of associated nodes from the set of geometric entities.

Syntax

hm_getgeometrynodes geometry_list ?association=<value>? ?node_query=<value>?

Type

HyperMesh Tcl Query Command

Description

Get a list of associated nodes from the set of geometric entities.

Inputs

geometry_list
Geometric entities description list in a form:
entityType1 ID1_1 ID1_2 ... entityType2 ID2_1 ID2_2 .. entityType1, entityType2. The types of entities can be surfs, lines, points or solids.
ID1_1, ID1_2, ... IDs of the entities of the type entityType1, entityType2, ...
ID2_1, ID2_2... List containing node IDs of all the nodes that are associated with any of geometric entities specified by the input parameters list.
association=<value>
The association type of the nodes to query. Valid values are:
initial – Return nodes whose initial geometry is same as the input geometry list (default).
current – Return nodes whose current geometry is same as the input geometry list.
node_query=<value>
Use this parameter to return boundary nodes which are associated with boundary geometries. By default, when querying lines, surfaces or solids, only internal nodes are returned. Multiple values can be provided in a form of a list. Valid values are:
points - Include nodes associated to boundary points
lines - Include nodes associated to boundary lines
surfaces - Include nodes associated to boundary surface

Example

To get nodes associated to the surface with ID 12:
hm_getgeometrynodes 12 association=current
To get nodes associated to the surface with ID 4 and 12 including boundary nodes:
hm_getgeometrynodes [list surfaces 4 12] association=initial node_query={points,lines}

To get nodes associated to the line with ID 13:

hm_getgeometrynodes [list lines 13]
To get nodes associated to the line with ID 13, including its endpoints:
hm_getgeometrynodes [list line 13] node_query=points

Parameters specifying the type of entities can appear any place in the parameter list. They define the type for all entities that follow in the list, until the next occurrence of type parameter.

If no type parameter is specified at the beginning of the parameter list, surfs type is assumed for all parameters until the first occurring type parameter.

Geometric entities can be duplicated in the input list but associated node IDs are unique in the output.

Errors

None.