Go to: Synopsis. Return value. Python examples.
toggleDisplacement(
[objects]
)
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
toggleDisplacement is undoable, NOT queryable, and NOT editable.
This command toggles the displacement preview of the polygon. This command is NOT un-doable.None
import maya.cmds as cmds # Toggle the displacement preview of the selected polygons. cmds.toggleDisplacement()