3.4.13. getEleTags Command

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

getEleTags <-mesh $meshTag>

Argument

Type

Description

$meshTag

integer

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

Example:

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

set tags [getEleTags]
puts $tags

Code Developed by: fmk