• Announcements

    • Rahul Ponginan

      Please click here for a short but important announcement   03/26/17

      Dear Users Our Commercial and Academic users around the world can use these same forums here as before i.e. the Altair Support Forum , Commercial users from India with solver queries can go to the Solver Forum for India Commercial Users , Academic Users from India and AOC India Participants are requested to go to the Forum for India Academic Users and AOC India Participants , We will be tending to all queries in all the forums promptly as before, thank you for your understanding. 
  • 0
Sign in to follow this  
Followers 0
Suresh Vijayan

Get the components Name from a FE Model

Question

Hi , 

 

i  am new to hypermesh customization, now i need to get a components names from a FE Model.How can i do that kindly guide me to solve this problem.

thanks in advance 

 

thanks & regards 

 

Suresh Kumar V

Share this post


Link to post
Share on other sites

2 answers to this question

  • 1

Hi, you can use 

set CompList [hm_complist name]

or

set CompList [hm_entitylist comps name] 

the first will raise error if no comp found but the second won't

Suresh Vijayan likes this

Share this post


Link to post
Share on other sites
  • 0

I wrote this the other day to be able to click on the part and see what component it is

(It is useful for checking part numbers of bits after importing a big assembly for example)

 

 

#Select the component
*createmarkpanel comps 1 "Select component:"

#Get name of component
set name [hm_getmark comps 1]
*clearmarkall 1
set comp_name [hm_getentityvalue comps $name name 1 -byid];


tk_messageBox -message "Name of Component: $comp_name" 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0