Selecting co-linear nodes

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

Hello , Good Morning everyone

 

I am trying to prepare a script which will

1.go through geometry detect all holes

2. detect for co linear holes 2 or more, note center nodes

3. create a spider with hole and center node and beam between two hole center

 

Right now I am able to achieve 1st and 3rd step but not able resolve second step

 

Any one have any suggestion for this?

 

Thank you

Answers

  • tinh
    tinh Altair Community Member
    edited August 2017

    I think hm_detecthole module can do it. It returns center and axis vector of holes which you can compare to find matches

    Did you try these commands? 

    Looking for them in reference guide (v14 or higher)

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hello tinh,

    Didnt found hm_detecthole command. But I know about hm_ce_gethmholes it gives center hole location but wont provide any info on axis

     

    Thank you

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    I think hm_detecthole module can do it. It returns center and axis vector of holes which you can compare to find matches

    Did you try these commands? 

    Looking for them in reference guide (v14 or higher)

    hi tinh,

    did't found this command in v14. if u have..can u pls share the syntax for the same

  • tinh
    tinh Altair Community Member
    edited November 2017

    sorry, correct command is

    hm_holedetectioninit

    please read usage and example in hm reference help for this command

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2017

    YUP GOT IT....THANKS TINH