ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
polyEvaluate [-accurateEvaluation] [-activeShells] [-activeUVShells] [-area] [-boundingBox] [-boundingBox2d] [-boundingBoxComponent] [-boundingBoxComponent2d] [-displayStats] [-edge] [-edgeComponent] [-face] [-faceArea] [-faceComponent] [-format] [-shell] [-triangle] [-triangleComponent] [-uvArea] [-uvComponent] [-uvEdgePairs] [-uvFaceArea] [-uvSetName string] [-uvShell] [-uvShellIds] [-uvcoord] [-uvsInShell int] [-vertex] [-vertexComponent] [-worldArea] [-worldFaceArea]
[poly poly...]
polyEvaluate は、取り消し可能、照会不可能、および編集不可能です。
指定したオブジェクトで必要なカウントを返します。Any | 要求されたフォーマット、およびコール元の言語に応じて、値の MEL 配列、Python 辞書、または文字列。 |
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-accurateEvaluation(-ae)
|
|
|||
|
||||
-activeShells(-as)
|
|
|||
|
||||
-activeUVShells(-aus)
|
|
|||
|
||||
-area(-a)
|
|
|||
|
||||
-boundingBox(-b)
|
|
|||
|
||||
-boundingBox2d(-b2)
|
|
|||
|
||||
-boundingBoxComponent(-bc)
|
|
|||
|
||||
-boundingBoxComponent2d(-bc2)
|
|
|||
|
||||
-displayStats(-ds)
|
|
|||
|
||||
-edge(-e)
|
|
|||
|
||||
-edgeComponent(-ec)
|
|
|||
|
||||
-face(-f)
|
|
|||
|
||||
-faceArea(-fa)
|
|
|||
|
||||
-faceComponent(-fc)
|
|
|||
|
||||
-format(-fmt)
|
|
|||
|
||||
-shell(-s)
|
|
|||
|
||||
-triangle(-t)
|
|
|||
|
||||
-triangleComponent(-tc)
|
|
|||
|
||||
-uvArea(-uva)
|
|
|||
|
||||
-uvComponent(-uvc)
|
|
|||
|
||||
-uvEdgePairs(-uep)
|
|
|||
|
||||
-uvFaceArea(-ufa)
|
|
|||
|
||||
-uvSetName(-uvs)
|
string
|
|||
|
||||
-uvShell(-us)
|
|
|||
|
||||
-uvShellIds(-usi)
|
|
|||
|
||||
-uvcoord(-uv)
|
|
|||
|
||||
-uvsInShell(-uis)
|
int
|
|||
|
||||
-vertex(-v)
|
|
|||
|
||||
-vertexComponent(-vc)
|
|
|||
|
||||
-worldArea(-wa)
|
|
|||
|
||||
-worldFaceArea(-wfa)
|
|
|||
|
フラグはコマンドの作成モードで表示できます | フラグはコマンドの編集モードで表示できます |
フラグはコマンドの照会モードで表示できます | コマンド内でフラグを複数回使用できます。 |
polyPlane -n plg -sx 4 -sy 4 -w 5 -h 5; select plg.f[2] plg.f[4]; // query the number of faces polyEvaluate -f; // Result: 16 // query the number of triangles polyEvaluate -t; // Result: 32 // query the number of selected faces polyEvaluate -faceComponent; // Result: 2 // query the number of vertices and faces polyEvaluate -v -f; // Result: 25 16 // formatted query of the number of vertices and faces polyEvaluate -v -f -fmt; // Result: vertex=25 face=16 // query all polyEvaluate; // Result: 25 40 16 25 32 1 1 0 0 2 0 0 //formatted query of all information polyEvaluate -fmt; // Result: vertex=25 edge=40 face=16 uvcoord=25 triangle=32 shell=1 uvShell=1 // vertexComponent=0 edgeComponent=0 faceComponent=2 uvComponent=0 // triangleComponent=4 activeShells= 0 activeUVShells= 0 uvShellIds= 0 0 // faceArea= 1.5625 1.5625 worldFaceArea= 1.5625 1.5625 uvFaceArea= 0.0625 0.0625 // boundingBox= X[-2.50,2.50] Y[-0.00,0.00] Z[-2.50,2.50] // boundingBoxComponent= X[-2.50,1.25] Y[-0.00,0.00] Z[0.00,2.50] // boundingBox2d= U[0.00,1.00] V[0.00,1.00] // boundingBoxComponent2d= U[0.00,0.75] V[0.00,0.50] // area=25.00 worldArea=25.00 uvArea=1.00 // accurate bounding box evaluation polyCylinder -r 1 -h 2 -sx 20 -sy 1 -sz 1 -ax 0 1 0 -cuv 1 -ch 1; // Result: pCylinder1 polyCylinder1 // rotate -r -os 38.340875 0 0 ; rotate -r -os 0 0 -36.177835 ; polyEvaluate -b; // Result: -1.397482 1.397482 -1.716432 1.716432 -1.651247 1.651247 // polyEvaluate -b -ae; // Result: -1.397482 1.397482 -1.407107 1.407107 -1.359833 1.359833 // // Local and World Space Area polyCube -w 1 -h 1 -d 1 -sx 1 -sy 1 -sz 1 -ax 0 0 1 -tx 1 -ch 1; setAttr "pCube1.scaleY" 2; polyEvaluate -a; // Result: 6 polyEvaluate -wa; // Result: 10 // UV Shell information polySphere -sx 20 -sy 20; polyAutoProjection; hilite; select -r pSphere1.f[282] pSphere1.f[189:192]; // number of UV shells polyEvaluate -uvShell // Result: 6 // active UV Shells polyEvaluate -activeUVShells // Result: 1 4 5 // UV shell IDs for selected faces polyEvaluate -uvShellIds // Result: 1 1 1 4 5 // UV edge pairs for selected edges polyEvaluate -uvEdgePairs pSphere1.e[642]; // Result: pSphereShape1.map[67] pSphereShape1.map[74] pSphereShape1.map[307] pSphereShape1.map[300]