951polo
@951polo
New Member
Joined: Feb 15, 2024
Topics: 4 / Replies: 29
Reply
RE: Problem with node in layer selection

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…

2 years ago
Forum
Reply
RE: Problem with node in layer selection

if I run this part, I get the following result: —– Select layer with suffix and group —— work showtextg1 = “*m*” nodesInsideLaye…

2 years ago
Forum
Reply
RE: Problem with node in layer selection

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,…

2 years ago
Forum
Reply
RE: Problem with node in layer selection

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…

2 years ago
Forum
Reply
RE: Problem with node in layer selection

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…

2 years ago
Forum
Reply
RE: Problem with node in layer selection

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…

2 years ago
Forum
Topic
Forum
Replies: 9
Views: 29
Reply
RE: [Solved] Assign material with suffix for only selection obj

Solved ( xx = #(for m in selection where MatchPattern m.name pattern:”*OBJ_1*” collect m ) for o in xx do ( — assign mat. ) )

2 years ago
Forum
Reply
RE: [Solved] Assign material with suffix for only selection obj

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…

2 years ago
Forum
Reply
RE: [Solved] Assign material with suffix for only selection obj

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…

2 years ago
Forum
Reply
RE: [Solved] Assign material with suffix for only selection obj

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…

2 years ago
Forum
Reply
RE: Material add OBJ – custom link checkbox with radiobuttons

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…

3 years ago
Forum
Reply
RE: Material add OBJ – custom link checkbox with radiobuttons

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…

3 years ago
Forum
Reply
RE: Material add OBJ – custom link checkbox with radiobuttons

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…

3 years ago
Forum
Page 1 / 3