Create dependent linemesh
Answers
-
-
what kind of 1d element do you need to create?
Do you need to create several 1d elements all joined at the same node at one end and different nodes at the other?
0 -
Altair Forum User said:
what kind of 1d element do you need to create?
Do you need to create several 1d elements all joined at the same node at one end and different nodes at the other?
yes!
I need to create bar2 element with linemesh, but i need lines.
Altair Forum User said:I'm sorry but I can't access the script exchange because I'm a student, not a costumer.
0 -
Altair Forum User said:
yes!
I need to create bar2 element with linemesh, but i need lines.
I'm sorry but I can't access the script exchange because I'm a student, not a costumer.
Hi,
try this script:
*createmarkpanel elems 1 'select rbe2 elements:'
*createmark elems 2 'by config' rigidlink
*markintersection elems 1 elems 2
foreach ElemId [hm_getmark elems 1] {
*createmark elems 1 $ElemId
*findmark elems 1 1 1 nodes 0 1
set Node1 [hm_getentityvalue elems $ElemId independentnode.id 0]
hm_markremove nodes 1 $Node1
foreach NodeId [hm_getmark nodes 1] {
*rod $Node1 $NodeId ''
}
}
0 -
thanks
I solved the problem with this script!0