Best way to get rid of unwanted elements

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

There are unwanted elements in the interior of the object that we scanned and I want to get rid of it. But I'm not really sure on even how to select the particular piece. Think a hollow box with something inside, and if I do try to select it I end up selecting the box too...

 

Sorry, I'm totally new at this.

Tagged:

Answers

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited April 2015

    HI,

     

    Can you put up an image of the model? 

     

    You may have to use, elements by face (select one of the elements > click on the yellow elements selector then choose face in the extended menu ) 

     

    See - 

    HyperWorks Desktop Applications > HyperWorks Desktop Overview > Input Controls > Entity Selector:



    Advanced Menu Selection

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    If I know the id of one node or (surface element ) on the surface, is it possible to select all the surface elements  on the side face by tcl script?

    I checked the command record, it seems hypermesh only returned the elements id(after some algorithms) on the same surface without telling me how.

    Thanks!

     

  • tinh
    tinh Altair Community Member
    edited January 2018

    Yes, first get surface id that the node's laying on:

    set surf_id [hm_getentityvalue nodes $NodeId surfaceid 0]

    then get elements on that surface:

    *createmark elems 1 'by surface' $surf_id

    set ElemList [hm_getmark elems 1]

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Yes, first get surface id that the node's laying on:

    set surf_id [hm_getentityvalue nodes $NodeId surfaceid 0]

    then get elements on that surface:

    *createmark elems 1 'by surface' $surf_id

    set ElemList [hm_getmark elems 1]

    Hi Tinh, thanks for your reply!

    To use the surface as a bridge is a good idea.But if there is no surface--only thing I have is the triangle surface mesh by imported the stl or nas file.

    and meanwhile the triangle mesh surface is toooo complicated that  to rebuild a surface is impossible.

    Do you know how to do this?

    Thanks!

     

  • tinh
    tinh Altair Community Member
    edited January 2018

    Sure if there is no surface you cannot select elems on it

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Sure if there is no surface you cannot select elems on it

    Hi Tinh,

    Thank you for your quick reply.

    I noticed that in the GUI, even though one don't have a geometry surface, one still can first select one element on the meshed face, and then use 'by face' to select all the elements on the same face when the angles from element to element didn't vary too much. So what I mean is this is operational from GUI and should be very useful by script which I don't know how.

    How do you think? Thanks!

  • tinh
    tinh Altair Community Member
    edited January 2018

    ah, it's very easy to do that by script, example

    *createmark elems 1 $First_ElemID

    *featureangleset 30; #default is 30D but you can change it

    *appendmark elems 1 'by face'

    set ElemOnFace [hm_getmark elems 1]

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    ah, it's very easy to do that by script, example

    *createmark elems 1 $First_ElemID

    *featureangleset 30; #default is 30D but you can change it

    *appendmark elems 1 'by face'

    set ElemOnFace [hm_getmark elems 1]

     

    Thank you very much Tinh!