Hi I am new to command file script/tcl script. I need to create springs from the given points:
*createnode(0,0,0,0,0,0)
*createnode(0,10,0,0,0,0)
*createnode(10,10,0,0,0,0)
*createnode(10,0,0,0,0,0)
*createmark(nodes,1) 1-4
*duplicatemark(nodes,1,28)
*translatemark(nodes,1,1,10)
*elementtype(21,6)
*spring(1,5,3,'CBUSH',0)
*spring(4,8,3,'CBUSH',0)
*spring(3,7,3,'CBUSH',0)
*spring(2,6,3,'CBUSH',0)
The above codes will work only on new HM session. But when the script is run on a model it will not behave as intended. Can someone correct the codes for me please...
Thanks,
Bobet