Unmask

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

I’m trying to find a quick way to unmask just one of several masked elements. So far all I can find is to unmask the entire component then re-mask all but the one. This is tedious because I have to re-mask quite a few.

I think a macro could do it nicely, and I think using marks or groups might be the ticket but I’m fairly new to HyperMesh so I don’t know the commands well enough to make this macro. If I could just toggle the mask attribute of all elements in a component (both displayed and masked) that would help a lot.

I have made a real simple macro with a button on the user menu so I know that part of the puzzle.

Does anyone have such a macro (or some hints) they’d like to share?

Greg

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2007

    Did you ever try to store the elements to be masked into different components. By doing so, you can unmask by components.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2007

    If you know the element ID number, use FIND (F5) Element [by ID]

    This will 'unmask' the desired element. You can also FIND Attached Elements - either pick an adjacent Node or Element, and the attached (adjacent - not all) elements will be unmasked.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2007

    have you try to save a scene. Scenes appears in the utility sidebar. Or try creating a new view with the masked elements options turned on.

    regards,

    ~ cesar

    I think a macro could do it nicely, and I think using marks or groups might be the ticket but I’m fairly new to HyperMesh so I don’t know the commands well enough to make this macro. If I could just toggle the mask attribute of all elements in a component (both displayed and masked) that would help a lot.

    I have made a real simple macro with a button on the user menu so I know that part of the puzzle.

    Does anyone have such a macro (or some hints) they’d like to share?

    Greg

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited July 2007

    You have masked some elements and you want to unmask some of them,

    try the following ....

    1. Tools->Mask->mask->elems

    2. elems->by collector->comps->displayed->select

    3. elems->reverse

    4. unmask all

    5. deselect needed elements

    6. mask

    7. return

    Hopefully it helps. A macro is the better way, of course, but i haven't enough time to write it .-).

    Mario