Splitting CAD file

Altair Community Member
Updated by vipin_22401
Hi all,
I have a CAD file as shown in the image below. It is symmetrical about z-axis.
I need to trim the CAD into half and delete surfaces in other half.
Can anyone suggest the logic to select the surfaces in any half, i already have the code to split in half.
Sort by:
1 - 2 of
21

Altair Community Member
OPUpdated by vipin_22401
Hi Imoto,
Thanks a lot!!
It works /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />
Hi Vipin
You can use 'by block' option in *createmark.
Here is sample code.
set blockname [::hwat::utils::GetUniqueName block 'Dummy'];
*createsimpleblock $blockname 11 -100000 -100000 0.5 100000 100000 100000;
*createmark surfs 1 'by block name' $blockname;
*numbersmark surfaces 1 1;
*createmark blocks 1 'by name only' $blockname;
*deletemark blocks 1;
Thanks,
Imoto