ジャンプ先: 概要. 戻り値. Python 例.

概要

renderPartition( string )

注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。

renderPartition は、取り消し可能、照会可能、および編集不可能です。

モデルの現在のパーティションを設定または照会します。フラグ q を使用しない場合、パーティション名を引数として渡す必要があります。この場合は、現在のパーティションがその名前に設定されます。

戻り値

stringレンダー パーティション。

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

Python 例

import maya.cmds as cmds

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

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