Hypermesh Tcl script development

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

Hi everyone,

 

I want to develop a script to help me on elements selecting. Selecting elements as line (or 'by path') occurs in my work frequently and no built in entity selecting method could help me on this one. So I am thinking to develop a macro to select elements just like how I can select nodes 'by path'.

 

So my ides is I build a mark to store nodes 'by path'. Then I find out which elements does these nodes belong to and store these elements. But, I checked tcl functions list of hypermesh and, as far as I know, no ready-use function to help on locate elements by it's nodes. Does anyone know how could I possibly solve this problem?

 

Or if you have better thoughts,

 

Thanks

 

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited July 2016

    why no?

    could you try shift+f5 find attached?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2016

    To code it the way you've suggested you can use the *findmark command

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2016

    why no?

    could you try shift+f5 find attached?

    Thanks tinh, I tried what you suggested. It is not the way I used to done it but it do can work with a sufficient efficiency.