🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Element Type name

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

How can I get the element type name for each element of a component in Hypermesh using TCL?

when I  use hm_getconfigtypeincol comps elems $compname -byname. I am getting 21,6. How do I get CBUSH from those values?

 

 

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi

    Try hm_getcardimagename elems  $id

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

       hm_getcardimagename is only working for property and not for elements.

    User: "tinh"
    Altair Community Member
    Updated by tinh

    oh, unlucky!

     

    you can try this, hoping it always returns solver name by ordered type

     

    lindex [hm_entityinfo configtypes elems spring] 6

     

    21 is config of spring and 6 is a solver type of spring

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

       Yea!!!!!!! Its working. Thank You