Jump to content
Sign in to follow this  

Script to Create a Set populated with Bar/Beam elements

Recommended Posts

Hi all,


Am trying to create a script which instantly creates a set with all the beam and bar elements in my model... this is how far I have gotten.


*createmark elems 1 "by config" bar2
*createentity sets cardimage=SET_ELEM name=set1
*setvalue sets id=2 ids= elems 1  {this is where I am getting it wrong}
*setvalue sets id=2 name="test"


I can create the set easily but it is getting the beam and bar elements into that set which is proving troublesome.

Also, is there a list of all Hypermesh TCL script commands?




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