I understand you. I read a lot of discussions where you also wrote, and yes, you don’t exactly like people here, that’s me. Apologies, I’m not that de…
if I run this part, I get the following result: —– Select layer with suffix and group —— work showtextg1 = “*m*” nodesInsideLaye…
my scene is complicated: 1.layer “ball_m” = Group_1(box_01,box_02), Group_02(box_03, box_04), sphere_01, sphere_02 2.layer “ball_x” = Group_3(box_05,…
I tried to set it to “group” only, but it still marks objects that are not in the group. Selecting a layer based on the prefix works well, but I can’t…
Hi Denis, before i start studying your script i was trying something and maybe this would be the way. I used this: — append objToSelArr (helpers[r…
maybe I found a problem. group “a” = 4 objects group “b” = 3 objects — group “r” = 100 objects If group “r” contains many objects, it has more comb…
Solved ( xx = #(for m in selection where MatchPattern m.name pattern:”*OBJ_1*” collect m ) for o in xx do ( — assign mat. ) )
allright, i understand which diferent prefix, suffix or postfix. i use these variant ( a_onoff = $*OBJ_1* a_onoff_i = #($*OBJ_1*) ) variant “a_onof…
moment… your code works but… ( a_onoff = $OBJ_1 a_onoff_i = #($OBJ_1) if rollStruct.rollout2.onoff1.state == true then(a_onoff = a_onoff_i ) for o i…
I don’t know why, but it doesn’t work. if i use this, work good –a_onoff = $OBJ_1 for o in selection where o.name == “OBJ_1_box_001” do ( –assign mat…
Yes the code works, change the ID according to the spinner. But the ID only changes the material “Material # 35”. I would need to get all the names fr…
Maybe I found a solution. The material must be a multi / sub material. In multi / sub I can change the ID perfectly. I’ve tested one material and it’s…
Yes, I understand the material would be one multi / sub and I would change the random ID object, so I will automatically change the materials. I shoul…