Script find all attached of displayed

mblock90
mblock90 Altair Community Member
edited October 2020 in Community Q&A

I am hoping to find all displayed elements attached to a specific element, similar to using the panel selection for elems > by attached.

*findmark elements 1 1 0 elements 0 2; is not doing what I want as it is finding all adjacent elements.  

The command.cmf for this selection shows that element id's are added to the mark discretely.

Thanks

Tagged:

Answers

  • tinh
    tinh Altair Community Member
    edited August 2018

    Use *appendmark 'by attached'

  • mblock90
    mblock90 Altair Community Member
    edited August 2018

    Exactly what I needed, thank you.