paramDimension(
[curve|surface]
)
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
paramDimension は、取り消し可能、照会不可能、および編集不可能です。
パラメータ次数を作成し、カーブやサーフェスで指定したポイントでカーブやサーフェスのパラメータ値を表示するために使用します。| string | 作成される paramDimension シェイプ ノードの名前 |
import maya.cmds as cmds cmds.curve(d=3, p=((-9.3, 0, 3.2), (-4.2, 0, 5.0), (6.0, 0, 8.6), (2.1, 0, -1.9)), k=(0, 0, 0, 1, 2, 2)); cmds.paramDimension( 'curveShape1.u[0.5]' ) # displays where u = 0.5 is on the curve cmds.sphere(); cmds.paramDimension( 'nurbsSphere1.uv[0.5][0.5]' ) # displays where u = 0.5 and v = 0.5 is on the surface