Get element types of a collector

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

Hi fellows,

I'm coding a tcl script, but got stalled because i don't know how to get which element types are in a particular collector/component.

I mean, i need a command to get the info to know the element type that have a collector.

For example, select the collector id1 and get a list with (C3D4, M3D3) if id1 has these element types.

 

Thank you :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hi fellows,

    I'm coding a tcl script, but got stalled because i don't know how to get which element types are in a particular collector/component.

    I mean, i need a command to get the info to know the element type that have a collector.

    For example, select the collector id1 and get a list with (C3D4, M3D3) if id1 has these element types.

     

    Thank you :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />

     

     

    Hi there

    perhaps, hm_getconfigtypeincol will help you

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Are you sure there's only ONE element type in each collector/component?

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

    Thanks Tinh,

     

    anyone knows about a list of the configuration types in hypermesh and its translation into Abaqus?

    example:

     

    Hypermesh                                     Abaqus

    *elementype 103 4 (M3D3)   ----->  S4

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Thanks Tinh,

     

    anyone knows about a list of the configuration types in hypermesh and its translation into Abaqus?

    example:

     

    Hypermesh                                     Abaqus

    *elementype 103 4 (M3D3)   ----->  S4

     

     

    Hi, I think your question is similar to this

    :rolleyes:/emoticons/default_rolleyes.gif' title=':rolleyes:' />

     

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Dear @drwill

    I found a better method, since data name of element updated from new hm versions, you can get elem name by:

     *createmark elems 1 'by comp id' $CompId set ElemNames [hm_getmarkvalue elems 1 typename 1] set TypeList [lsort -unique $ElemNames] puts $TypeList

     

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

    Tinh, definitely you are the HM wisdom