allright, i understand which diferent prefix, suffix or postfix.
i use these variant
(
a_onoff = $*OBJ_1*
a_onoff_i = #($*OBJ_1*)
)
variant “a_onoff” do random assign all mat for all objects with suffix (every object have difgerent material)
variant “a_onoff_i” do random choice one mat from list for all objects with suffix (same material for all)
these scenario works good but problem is material is assign on every object hide/unhide and is very slow, becouse i have a lot of object which is hide.
these variant work ok
(
a_onoff = $*OBJ_1*
for o in a_onoff where o.isSelected == true do
)
but
these variant work not ok
(
a_onoff_i = #($*OBJ_1*)
for o in a_onoff_i where o.isSelected == true do
)
maybe I need to change the definition of a_onoff_i so that all objects with seffix are considered as one object