Solid ID

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

Hello!

 

Does anybody know if it exist a function to know the ID of which solid a line belongs?. I´m spliting a solid, and when use the *body_split_with_swept_lines command the ID´s of my principal solid changed. So I´m trying to know the knew ID of my principal solid if I just choose an edge of the solid.

 

Thanks.

Answers

  • tinh
    tinh Altair Community Member
    edited February 2016

    Hi

    try *createmark solids 1 'by lines'

    set solidIDs [hm_getmark solids 1]

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2017

    Hi,

    try this it works

     set solidIDval [hm_getentityvalue comps $CADcompname solids 0 -byname]