Find duplicates in geometry and delete them in HM using tcl commands
Hi there,
I'm trying to use tcl commands in HM2021 to find duplicates in geometry and then delete them.
It is to be implemented in HM model. In the HM model, I duplicate the solid component several times at the same location but with different component names and duplicate the surfaces of the solid component at the same location. That means, I have several components with different names, but the solids are all the same. And the duplicated surfaces component also has the same surfaces with the original solid component.
How to realize it? I've tried directly using HM operations and check the command file to see if it works. For example,
*createmark surfaces 1 "all"
*surfacemark_duplicate_check 1 1 518 0 1 0.1
*deletemark surfaces 1
But I still have 1 duplicate left even if the larger tolerance 0.5 was chosen.
And how to explain the parameter "518" in the code above? I read the menu, but not clear about that value.
Thanks for your insight.