🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to remove nodes from a set by usage of tcl

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "vipin_22401"
    Altair Community Member
    Updated by vipin_22401

    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 1

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    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 1

    hi vipin,

     

    it works:D/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />

     

    Thanks for your support!