Jump to content
drwill

Get element types of a collector

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites
12 hours ago, drwill said:

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 :)

 

 

Hi there

perhaps, hm_getconfigtypeincol will help you

Rahul R and drwill like this

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
2 hours ago, drwill said:

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:

 

 

Share this post


Link to post
Share on other sites

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

 

drwill and Rahul R like this

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...