Houdini
HScripting
Whilst working in Houdini on certain projects at the NCCA, I started looking into HScript. Houdini's HScript uses text-based commands that can achieve virtually everything that the GUI can.
One task I used it for, was to wire up a large amount of imported Maya OBJ files with relevant shader and switch operators for multipass rendering. The image below shows a small portion of how the script wires the necessary operators into the OBJ file operator.
The script accessed from the link below may be useful as a reference.

HScript for multipass rendering:
Download Script