ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.

概要

reorderDeformers( string string selectionList , [name=string])

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

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

このコマンドは、2 つのデフォメーション ノードが出力ジオメトリに作用する順序を変更します。1 番目の引数は deformer1 の名前、2 番目は deformer2 で、その後に変形されるオブジェクトのリストが続きます。

deformer2 を deformer1 の前に挿入します。現在サポートされているデフォーマ ノード: sculpt、cluster、jointCluster、lattice、wire、jointLattice、boneLattice、blendShape。

戻り値

なし

関連

nonLinear

フラグ

name
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
name(n) string create
このフラグはサポートされていないため使用されません。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。

Python 例

import maya.cmds as cmds

# Create some geometry to deform
cmds.sphere( name='sphere1' )
cmds.sphere( name='sphere2' )

# Create a couple of deformers
cmds.select( 'sphere1Shape', 'sphere2Shape' )
cmds.sculpt( name='sculpt1' )
cmds.select( 'sphere1Shape', 'sphere2Shape' )
cmds.cluster( name='cluster1' )

# Change their order
cmds.reorderDeformers( 'sculpt1', 'cluster1', 'sphere1Shape', 'sphere2Shape' )