Gruop Handeling

Hi

i want to transfer a shader from one group to another gruop
i.e there is a group A (with c1,c2,c3 elements in it ) another goup B (with e1,e2,e3) now i want to transfer shader of c1 to e1 and c2 to e2 ........

i have got a script by selecting the source and target the shader is transfered .

how do i go abt this problem.

hmmm because they have the same naming conventtion then do code like the following pseido code (note this forum is not a custom eingeneering departent).

Pseudocode:

for (nodes in e-tree){
Mat=get nodes material;
Basename=get nodes name;
name=substitute Basename with "";
name=append newbaseneme with name;
apply Matl to Name;
}

now convertting the pseudocode shouldnt be all that hard.

write a loop that will traverse both hiararchies and transfer shaders for each step

hi
thanx for ur guidence guys

i did it by keeping it in the loop and following the code

thanx a lot failure and jojaa