移動先: 概要 戻り値 キーワード. 関連項目. フラグ. Python 例.

概要

nurbsSelect([borderSelection=boolean], [bottomBorder=boolean], [growSelection=int], [leftBorder=boolean], [rightBorder=boolean], [shrinkSelection=int], [topBorder=boolean])

注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。

nurbsSelect は 「元に戻す」が不可能「照会」が不可能「編集」が不可能 です。

オブジェクトへの選択操作を実行します。
任意の境界フラグを設定すると、該当する境界が選択されます。それ以外の場合は、現在選択されている CV が使用されるか、サーフェスをオブジェクトとして選択している場合は、すべての CV が使用されます。
次に growSelection、shrinkSelection、borderSelection の各フラグが、この順番で適用されます。
実際には、一度にひとつのフラグを使用することをお勧めします(境界フラグを除く)。

戻り値

なし

キーワード

texture, uv, image

関連項目

move

フラグ

borderSelection, bottomBorder, growSelection, leftBorder, rightBorder, shrinkSelection, topBorder
ロング ネーム(ショート ネーム) 引数型 プロパティ
leftBorder(lb) boolean create
サーフェスの左の境界を選択します(U = 0)。
rightBorder(rb) boolean create
サーフェスの右の境界を選択します(U = 最大(Max))。
bottomBorder(bb) boolean create
サーフェスの下の境界を選択します(V = 0)。
topBorder(tb) boolean create
パッチの上の境界を選択します(V= 最大(Max))。
growSelection(gs) int create
指定した CV 数だけ、CV 選択を増やします。
shrinkSelection(ss) int create
指定した CV 数だけ、CV 選択を減らします。
borderSelection(bs) boolean create
現在選択されている CV の境界を抽出します。

: コマンドの作成モードで使用可能なフラグ : コマンドの編集モードで使用可能なフラグ
: コマンドの照会モードで使用可能なフラグ : タプルまたはリストとして渡された複数の引数を持てるフラグ

Python 例

import maya.cmds as cmds

# Create a Nurbs plane.
cmds.nurbsPlane( u=5, v=7 )
# Select it top and bottom CVs.
cmds.nurbsSelect( topBorder=True, bottomBorder=True )
# Expand the selection to 3 rows.
cmds.nurbsSelect( growSelection=3 )
# Select only the outline of the rows.
cmds.nurbsSelect( borderSelection=True )