🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

TCL Command for Finding Elements Containing a Given Node in HyperView

User: "juniorzllsaoirse1230"
New Altair Community Member

Hi,everyone

In HyperView, I want to retrieve the element IDs that contain a given node ID. Which command should I use?

Find more posts tagged with

Sort by:
1 - 2 of 21

    hello @juniorzllsaoirse1230 ,

    please use *findmark to get elements including a given node.

    Here's an example in this video:

    Michael

    User: "Cesar_Rivas1"
    Altair Community Member

    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.0

    best regards,

    cesar