vray Object id

Hey :smiley: , again new to corona.
How can i render all my scene with elements by object id..
ive tried all
the only thing i found is Cmasking mask but i have a lot of obecjt ids but its a lot of work to make 20 C_mask elements with the object gbuf id..
any help?

You can render wire color mask

this scripts will help to randomize wire color

Thank you