Notifications
Clear all

[Closed] fastest way move object to another layer

I’m wondering…

for my rigging script i need to move a lot of object’s (200-300) to certain layers, i timed all of the steps of the script today and noticed that this part takes longer than everything else combined…

what i’m doing now is something like this:

for o in rigObjs do rigLayer.addNode o

addnode doesn’t seem to be a mapped function, it expects a single node so i guess i have to do it like this, is there any way to make this more efficient?