Jump to content
Sign in to follow this  
Suresh Vijayan

Get the components Name from a FE Model

Recommended Posts

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

Join the conversation

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

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.

Sign in to follow this  

  • Create New...