Aearon
02-17-2006, 08:13 PM
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?
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?
