Had to say thanks for the code here. We had a cursed scene that was taking up to 1 minute per frame to batch render. This code saved the life of a computer that was getting ready to leap out a window (or maybe be pushed).
Thanks! I appreciate you taking the time to register and letting me know. I'm glad it helped!
Imagination is more important than knowledge.