Go to: Synopsis. Return value. Python examples.

Synopsis

renderPartition( string )

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

renderPartition is undoable, queryable, and NOT editable.

Set or query the model's current partition. When flag q is not used, a partion name must be passed as an argument. In this case the current partition is set to that name.

Return value

stringThe render partition

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

Python examples

import maya.cmds as cmds

# Query the current render partition
cmds.renderPartition( q=True )

# Set the current render partition to "foofoo"
cmds.renderPartition( 'foofoo' )