Elements in proximity of nodes

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello,

 

When a list of nodes is imported to a meshed model, is there a way to find what elements are near each imported node, given a certain tolerance?

If so, how to select and export these elements?

 

Thanks for your help.

 

Regards,

 

N.

Tagged:

Answers

  • Pranav Hari
    Pranav Hari Altair Community Member
    edited September 2018

    Hi @NFMOREIRA

     

    If the nodes are associated with the elements, there is option to find attached using TOOLS > FIND option in HyperMesh

    However there is no direct option to find based on Tolerance. For this you may need to do customized scripting or automation.

     

    <?xml version="1.0" encoding="UTF-8"?>image.thumb.png.c539307ab988682a62b70d981265a0d0.png

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2018

    Hi Pranav

     

    Exactly. I use that  command for attached elements.
    For this case however, I would need to do a script. The problem is that I do not know at the moment, how to transform the idea into the script.

  • Pranav Hari
    Pranav Hari Altair Community Member
    edited September 2018

    Hi NFMOREIRA

     

    You can learn the basics of scripting from the online tutorials available in HM help.

    Hope these links may help you.

     

    image.png.55f923cc8eeac6f42f1e499b86d060c7.png

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited September 2018

    Thanks Pranav :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

  • vipin_22401
    vipin_22401 Altair Community Member
    edited September 2018

    Hello,

     

    When a list of nodes is imported to a meshed model, is there a way to find what elements are near each imported node, given a certain tolerance?

    If so, how to select and export these elements?

     

    Thanks for your help.

     

    Regards,

     

    N.

    Hi @NFMOREIRA

     

    ::hwat::utils::GetClosestElement x y z assemname

    May be this is the command you are looking for, x y z are the coordinates of corresponding node.