The syntax for retrieving all values in dict is

[dict values $dictname]

Example:

set thicknesses [dict create t1 0.1 t2 0.2 t3 0.25]
set values [dict values $thicknesses]
puts $values

Result:

0.1 0.2 0.25

Discover more from Tips and Hints for Aerospace Engineers

Subscribe now to keep reading and get access to the full archive.

Continue reading