移動先: 概要 戻り値 フラグ Python の例
extendSurface(
surface [surface]
, [caching=boolean], [constructionHistory=boolean], [distance=linear], [extendDirection=int], [extendMethod=int], [extendSide=int], [extensionType=int], [join=boolean], [name=string], [nodeState=int], [object=boolean], [replaceOriginal=boolean])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
extendSurface は「元に戻す」が可能、「照会」が可能、「編集」が可能です。
このコマンドは、サーフェスを延長するか、または延長として新しいサーフェスを作成します。
戻り値の型は照会モードでは照会フラグが基になります。
caching, constructionHistory, distance, extendDirection, extendMethod, extendSide, extensionType, join, name, nodeState, object, replaceOriginal
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
#Create a nurbs plane, then extend both sides of the plane by 10
cmds.nurbsPlane(n='plane1')
cmds.extendSurface('plane1', d=10, es=2)