luoqiulin
sorry for my bad English, i don't know weather i understanded your question. in viewport you can select the prims you want to transform,add a “delete” node,change “delete” option to “Delete Non-selected” all primGroups you want transform is here, in textpot type:
echo `primgrouplist(“/obj/geo1/delete1”)`
that's the groups
Thanx for replying,
Nop, that's not what i want to do. Here's to simplify the case : you have 3 spheres, each of the sphere has its own group (group 1,group2,group3). Later you want to modify the position of sphere2 (group2). So you attach a transform node to do the job. In the transform node , select the group/sphere then do the transformation (important : when selecting obj try to pick up from viewport , NOT from the group list !!! ). Done and you're happy with it. Suddenly you realize that u need to update the obj on the top level, and the modification will change the number of point. If you do that, absolutely the transformation u did before will gone wild. You will break your object for sure. So updating the obj will be a very bad idea. Otherwise you have to repeat all the transform. To deal with this thing, do not select obj from viewport, but you have to pick up group name from the group list in the ‘transform’ parameter. With this method , no matter you change your object, the transform node is still working fine.
But the problem with this method is : let say you have hundreds pieces of object (like glass breaking) , where each of pieces has its own group. For sure i don't want to pick up manually selecting group from the list , scrolling down hundreds item, trying to pick up which one is the right pieces, there are gonna be something like : pieces101,pieces102….pieces340 etc to select from. In this case , it's absolutely clear that you'll love to pick up INTERACTIVELY from viewport.
thanx
