::hwat::utils::GetMarkedEntity “components” 1 “by sets” set1

Return a list containing the IDs of the entities, 0 if no entity is found and {} if unsuccessful.

If any one of the arguments is list in Tcl, like [list 1 2 3] or {1 2 3}, use eval before GetMarkedEntity command.

For example,

set a {1 2 3}
eval ::hwat::utils::GetMarkedEntity comps 1 \”by assems\” $a

however
::hwat::utils::GetMarkedEntity comps 1 “by assems” 1 2 3

Discover more from Tips and Hints for Aerospace Engineers

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

Continue reading