Roshan Shiveshwar 8 Report post Posted March 12 Hi, I am trying to create a simple Tcl script, where I should be able to identify the mid-side nodes from the model and put it in a list. Is there any API to achieve this? Thanks, Roshan Quote Share this post Link to post Share on other sites
tinh 739 Report post Posted March 12 May we know reason? Which element configs do you have? Quote Share this post Link to post Share on other sites
Roshan Shiveshwar 8 Report post Posted March 12 This was a code to get elements from set of nodes. I discovered now that the code fails for 2nd order elements because of the mid-side nodes. Hence, wanted to identify them and avoid them in the calculation. Quote Share this post Link to post Share on other sites
tinh 739 Report post Posted March 13 I remember there is a relevant command but can't find it. Example to get mid side nodes of quad8: *createmark elems 1 "by config" quad8 set NodeList [hm_getvalue elems mark=1 datanames=nodes] set MidNodes [join [regsub -all {\{[0-9]+ [0-9]+ [0-9]+ [0-9]+ } $NodeList \{]] Pandurang, vipin and Roshan Shiveshwar like this Quote Share this post Link to post Share on other sites
Roshan Shiveshwar 8 Report post Posted March 15 Thanks Tinh, This one is a useful hack. Quote Share this post Link to post Share on other sites