Script to Create a Set populated with Bar/Beam elements
Andy@LamteqSolutions
Altair Community Member
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?
Cheers
Andy
0
Answers
-
change to 'ids=[hm_getmark elems 1]'
(have quotes)
commands are listed in help>altair help home>reference help of hypermesh
0 -
Many thanks Tinh.
0