ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyHelix([caching=boolean], [coils=float], [constructionHistory=boolean], [createUVs=int], [direction=int], [height=linear], [name=string], [nodeState=int], [object=boolean], [radius=linear], [roundCap=boolean], [subdivisionsAxis=int], [subdivisionsCaps=int], [subdivisionsCoil=int], [texture=int], [useOldInitBehaviour=boolean], [width=linear])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyHelix は、取り消し可能、照会可能、および編集可能です。
polyHelix コマンドは、新しいポリゴンらせんを作成します。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly creation operation flags | ||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
coils(c)
|
float
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
createUVs(cuv)
|
int
|
|
||||||||||
|
||||||||||||
direction(d)
|
int
|
|
||||||||||
|
||||||||||||
height(h)
|
linear
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
radius(r)
|
linear
|
|
||||||||||
|
||||||||||||
roundCap(rcp)
|
boolean
|
|
||||||||||
|
||||||||||||
subdivisionsAxis(sa)
|
int
|
|
||||||||||
|
||||||||||||
subdivisionsCaps(sc)
|
int
|
|
||||||||||
|
||||||||||||
subdivisionsCoil(sco)
|
int
|
|
||||||||||
|
||||||||||||
texture(tx)
|
int
|
|
||||||||||
|
||||||||||||
useOldInitBehaviour(oib)
|
boolean
|
|
||||||||||
|
||||||||||||
width(w)
|
linear
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Create a helix with radius 1.0 in anti clockwise direction with no UV's for texture. cmds.polyHelix(r=1, d=1, cuv=0) # Create a helix, called "myHelix" with default values. cmds.polyHelix(n='myHelix')