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:
- association=<value>
- The association type of the nodes to query. Valid values are:
- 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:
Example
hm_getgeometrynodes 12 association=current
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]
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.