Arnold RGB Matte AOV

This script creates RGB Matte AOV similar to VRays Multi Matte set up. I personally prefer this to Arnolds built in Object ID pass.

To Run: Put objects you want to have mattes for into sets. Make sure anything you want in the same Matte to be in the same set. Then select the Sets and run the script. It will create a new AOV for every three sets. So your first set will be red, second green, third blue, then it will create a new AOV and repeat.