How to remove nodes from a set by usage of tcl
Hi everybody,
I try to add some nodes to a node-set by usage of tcl like this:
*createmark nodes 1 $nodeID
*appendmark nodes 1 'by face'
*entitysetupdate 'NSET' nodes 1
This works perfectly!
But now I would like to remove nodes inside of a specific box. I tried this but it doesn't work ...
*createmark nodes 2 'by box' $x1 $y1 $z1 $x2 $y2 $z2 0 inside 0 1 0
*markintersection nodes 1 nodes 2
*deletemark node 1
*entitysetupdate 'NSET' nodes 2
What am I doing wrong?
Thx in advance
Answers
-
Hi tomislav
try this
*createmark nodes 1 'by set' NSET
*createmark nodes 2 'by box' $x1 $y1 $z1 $x2 $y2 $z2 0 inside 0 1 0
*markdifference nodes 1 nodes 2
*entitysetupdate 'NSET' nodes 10 -
Altair Forum User said:
Hi tomislav
try this
*createmark nodes 1 'by set' NSET
*createmark nodes 2 'by box' $x1 $y1 $z1 $x2 $y2 $z2 0 inside 0 1 0
*markdifference nodes 1 nodes 2
*entitysetupdate 'NSET' nodes 1hi vipin,
it works/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />
Thanks for your support!
0