stefano.garbin
Guest
Code:
esel,s,type,,4!
cm,rivetti_old,elem !creo a component with these rivets
Alls!
finish
/prep7
*do,i,1,40 start cycle do with counter "i" from 1 to 40 (*)
ksel,s,,11499+i!select keypont number 11499+i
ksel,a,,11699+i also select the keypont number 11699+i
nslk!select the knots attached to these keypoints
*get,n1,node,n,nxth!memorizzo in n1 the number of keypoints greater
*get,n2,node,n,nxtl!memorizzo in n2 the number of keypont minor
type,4!setto as current element type 4 (beam)
e,n1,n2!creo an element between n1 and n2
*end
esel,s,type,,4!select all rivets
cmsel,u,rivetti_old!deselect those already created previously
the new rivets