3.4.12. getNodeTags Command

This command returns a list of the tags of all the nodes in the model, or of the nodes of a mesh.

getNodeTags <-mesh $meshTag>

Argument

Type

Description

$meshTag

integer

return only the nodes of the mesh with this tag (optional: default = all nodes)

Example:

The following example sets the variable tags to the tags of all the nodes in the model, and prints them.

set tags [getNodeTags]
puts $tags

Code Developed by: fmk