Jump to content
pranoy407

Getting total number of elements

Recommended Posts

Hi,

I want to get total number of elements of a model.. Right now I'm marking all elements and using [llength $xyz] getting the total number of elements. But if number of elements are more, then it takes much time.. Is there any other faster approach to get the total count ?

Also, any command for "elements by attached" ? Should select all the elements attached to it..

Share this post


Link to post
Share on other sites

Hi,

Using Hypermesh GUI you can count no of element using Tools page:count option.

Extended entity select option provide option for selecting elements by attached element. see screenshot.

Regards

Rahul R

Tools_count.JPG

Extentity entity selection.JPG

pranoy407 likes this

Share this post


Link to post
Share on other sites

Dear all,

 

can we get different element type present in the one component by using tcl\tk script.

Like one component have two element type wiz S3 and S4. 

so can we extract the same info using tcl\tk.

@tinh pls suggest any API.

 

Regards,

Vikas Kumar

Share this post


Link to post
Share on other sites

tinh

 

set var [hm_getconfigtypecountincol comps elems BEAM-6_0 -byname] ;  # is returning (60 9 2)  wiz config id is confusing . 

How to get again config name by id .

 

Regards 

Vikas Kr

 

Edited by Vikas Kumar

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...