Go to: Synopsis. Return value. Flags. Python examples.

Synopsis

renderThumbnailUpdate( boolean , [forceUpdate=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

renderThumbnailUpdate is undoable, queryable, and NOT editable.

Toggle the updating of object thumbnails. These are visible in tools like the Attribute Editor and Hypershade. All thumbnails everywhere will not update to reflect changes to the object until this command is used to toggle to true unless a specific thumbnail is forced to render using the -forceUpdate flag.

Return value

None

In query mode, return type is based on queried flag.

Flags

forceUpdate
Long name (short name) Argument types Properties
forceUpdate(fu) string create
Force the thumbnail to update.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# Turns on thumbnail updates.
cmds.renderThumbnailUpdate(True)

# Turns off thumbnail updates.
cmds.renderThumbnailUpdate(False)

# Force update of a thumbnail
cmds.renderThumbnailUpdate(fu = "lambert1")