*createlist
Hello there, I am at the Moment working in scripts for hypermesh and stumbled over an error while using the *createlist command. If i want to fill a list with a TCL variable, which i got from a Mark of e.g. nodes by hm_getmark, i won't be able to create a list of nodes by e.g. *createlist nodes 1 $selected_nodes. It will take only the First entry of my variable but it contains a whole bunch of node ids. Is this a Bug? Or did I get something wrong. Is there a workaround? I think there are very few commands for list creating in the modify commands. I need it for the *linearsurfacebetweennodes command. to avoid confusion: the list i am talking about is Not a TCL-list, i want to create a node list out of a TCL-list of their ids... I would be very thankfull for some help
Answers
-
hi,
the command is correct. But you need to 'eval' it, so
eval *createlist nodes 1 $nodelist
will take all nodes in list
0 -
Thank you, that works!
0