Intersections between elements

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

Hi all,

How to find intersecting elements between components, using Tcl commands..?

Tagged:

Answers

  • Imoto
    Imoto
    Altair Employee
    edited June 2018

    You can use hm_collision* commands.

     

    Ex:
    *createmark elems 1 displayed;
    hm_collisioninit;
    hm_collisionentitycreate elems 1 0 1 0 0 0 0 0 0;
    hm_collisioncheck 1 0 0 0 0 0 0 90.0 0 1 0.0 1;
    hm_getmark elems 1;
    hm_collisionend;

     

    Thanks,
    Imoto

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Thank u very much sir,its working.