ジャンプ先: 概要. 戻り値. フラグ. Python 例.
bezierAnchorPreset([preset=int])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
bezierAnchorPreset は、取り消し可能、照会不可能、および編集不可能です。
ベジェ曲線のシェイプ用に照会可能なインタフェースを提供します。| int | (修正されたアンカーの数) |
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
preset(p)
|
int
|
|
||
|
||||
import maya.cmds as cmds # Applies the "Bezier" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=0 ) # Applies the "Bezier Corner" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=1 ) # Applies the "Corner" anchor preset to all selected anchors cmds.bezierAnchorPreset( p=2 )