TCL Command for Finding Elements Containing a Given Node in HyperView

Hi,everyone
In HyperView, I want to retrieve the element IDs that contain a given node ID. Which command should I use?
Answers
-
hello @juniorzllsaoirse1230 ,
please use *findmark to get elements including a given node.
Here's an example in this video:
Michael
0 -
hello. In hyperview, as far as I know, there is no direct way to get the elements attached to some nodes. I faced that issue some years ago, and the solution was to do a couple of queries to get the elements attached to the nodes. See the attached tcl file. it get the elements using spheres with origin in the node coordinates. It will create a user set with the elements attached to the nodes. I tested in Hyperview 2022.3 and 2024.1. Also, I tried my best to comment the code but there are no warranties.
you need to modify the variables 'node_list' and 'radius', see below as an example.
set node_list [ list 10008516 10007226 ]
set radius 20.0best regards,
cesar
0