🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Find duplicate Surfaces

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi all,

I am trying to find duplicate surfaces in a model.

I couldn't find any Tcl command for searching duplicate surfaces, however there is following Tcl command from HyperMesh Desktop Reference Guide which searches faces:

*createmark faces 1  all
*facepreviewduplicates 1 0.1

 

In the status message bar, the message '5 faces are duplicate' appears. 

However my target is to find out the pairs of duplicate surfaces.

Is it possible using HyperMesh Tcl?

 

Best regards,

Mubeen

 

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Sanjay Nainani_20973"
    New Altair Community Member
    Updated by Sanjay Nainani_20973

    Hello,

     

    Can you please try this

     

    *createmark surfs 1 all

    *surfacemark_duplicate_check 1 1 4 0 0 0.1

    hm_getmark surfs 1

     

    thankyou

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hello,

     

    Can you please try this

     

     

    *createmark surfs 1 all

    *surfacemark_duplicate_check 1 1 4 0 0 0.1

    hm_getmark surfs 1

     

    thankyou

     

    Hi, 

    thanks for the valuable information.

    I tried this Tcl command. I have surfaces 1,2,3,4,5,6 in model 1. 

    Then I have imported another geometry model with surfaces 7,8,9,10,11,12 ..,15.

    Surfaces 1-4 and 7-10 are identical, but these commands (*surfacemark_duplicate_check) returned 

    7 8 9 10 

    only.

    I checked the documentation for this command, but couldn't find any reason why it is not returning the duplicates of these  7 8 9 10 surfaces.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Please simply change the option from '4' to '10'   (0b1010)

    You have to createmark surfs 1 1-6 

    And createmark nodes 2 1-15

    Then surfacemark_dup... 1 2 0b1010

     And hmgetmark surfs 1 and 2