Introduction to Operators - Arnold for Maya

This short tutorial will cover how to use the set_parameter, collection, and disable operators to change the lights and self-shadowing of some teapots and alter the shading of the sphere. The scene contains two lights casting shadows on three teapots and a sphere with a simple utility shader assigned to it.
Use the ignore_operators flag in Diagnostics> Feature Overrides to check what the render looks like without any operators.
The scene file can be downloaded here.
Information about how and where to create operators can be found here.
Collection
We will use the collection operator to reference a selection. This can be used to avoid writing a selection multiple times (optional in this case).
- Create a
collectionoperator containing two teapots. Underselectionadd the following (we will apply aset_parameterthat will only affect these two teapots):
Teapot001Shape or Teapot002Shape
Teapot Collection
Set Parameter (Disable Self Shadows on the Teapots)
- Create a
set_parameter. Create the following expression:
self_shadows=false
Disable Light
We can turn off one of the lights by using the Disable operator.
- Create a Disable operator and under Selection enter for the following Arnold light:

ArnoldLight001 disabled
Set Parameter: Sphere Utility Shader
Now we will change the overlay_mode for the spheres utility shader.
- Assign a
utilityshader to the sphere and rename it to the_utility. - Create another
set_parameterand underexpressionenter the following:
overlay_mode="wire"- Under
selectionenter the following:

Utility shader altered with Set Parameter

Final Operator Graph window setup
