how to convert pattern selection to group name??

   2260   0   0
User Avatar
Member
58 posts
Joined: July 2005
Offline
Hi, here's my case :
#1
i create a box, apply the shatter, so i have many pieces primitive groups. Okay, now i want to delete some of the pieces. I use ‘delete’ node then i need to select the pieces to be deleted , to do this, i have to input the primitive group ( which contain pieces i want to remove). The problem of course i don't know which part of the fractured pieces belong to which group name since there're a lot of pieces. So another way is : interactively i select in viewer by using the ‘primitive group’ selection mode. The selected pieces then will be convert to pattern in the delete node's pattern. But i don't want this, i don't want the pattern, i want the group name of the selected pieces to be displayed in the group input of the ‘delete’ node. So how to convert the selection pattern into group name? is it possible ??

#2
i'm curious, i want to use ‘!’ in group input name. something like !mygroup, to select anything other than mygroup. But i can't make it work. why?

#3
related to no.2 , if i have 2 delete nodes lets name them : A and B, i want the B to delete anything other than A deletes. Or i want the selection for B to always invert of A (complement). How to do it with expression? so i can change A, without have to worry about B anymore since B will always has invert of A. Normally i did this : select obj for A, then copy this A node , paste and rename it to B, then change mode to ‘delete non-selected’.

thanx
Andi
  • Quick Links