hm_nodeismidnode

Checks if a node is a mid-side node.

Syntax

hm_nodeismidnode node_id

Type

HyperMesh Tcl Query Command

Description

Checks if a node is a mid-side node on a second-order element. Returns 1 for a mid-side node, 0 otherwise.

Inputs

node_id
The ID of the node to check.

Examples

To check if node ID 99 is a mid-side node:

hm_nodeismidnode 99

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

2022.2