ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
polyPlatonicSolid([axis=[linear, linear, linear]], [caching=boolean], [constructionHistory=boolean], [createUVs=int], [name=string], [nodeState=int], [object=boolean], [radius=linear], [sideLength=linear], [solidType=int], [texture=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
polyPlatonicSolid は、取り消し可能、照会可能、および編集可能です。
polyPlatonicSolid コマンドにより、新しいポリゴン正多面体が作成されます。| string[] | オブジェクト名とノード名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Common poly creation operation flags | ||||||||||||
axis(ax)
|
[linear, linear, linear]
|
|
||||||||||
|
||||||||||||
caching(cch)
|
boolean
|
|
||||||||||
|
||||||||||||
constructionHistory(ch)
|
boolean
|
|
||||||||||
|
||||||||||||
createUVs(cuv)
|
int
|
|
||||||||||
|
||||||||||||
name(n)
|
string
|
|
||||||||||
|
||||||||||||
nodeState(nds)
|
int
|
|
||||||||||
|
||||||||||||
object(o)
|
boolean
|
|
||||||||||
|
||||||||||||
radius(r)
|
linear
|
|
||||||||||
|
||||||||||||
sideLength(l)
|
linear
|
|
||||||||||
|
||||||||||||
solidType(st)
|
int
|
|
||||||||||
|
||||||||||||
texture(tx)
|
int
|
|
||||||||||
|
||||||||||||
import maya.cmds as cmds # Create a icosahedron with radius 2 side length 2 cmds.polyPlatonicSolid( r=2, l=2, st=1) # Create a platonic solid, called "myPlatonicsolid", of type octahedron. cmds.polyPlatonicSolid( n='myPlatonicsolid', st=2 )