ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
wire(
[objects]
, [after=boolean], [afterReference=boolean], [before=boolean], [components=boolean], [crossingEffect=float], [deformerTools=boolean], [dropoffDistance=[uint, linear]], [dumpInfo=boolean], [envelope=float], [exclusive=string], [fixedSetupData=string], [frontOfChain=boolean], [geometry=string], [geometryIndices=boolean], [groupWithBase=boolean], [holder=[uint, string]], [ignoreSelected=boolean], [includeHiddenSelections=boolean], [localInfluence=float], [name=string], [parallel=boolean], [prune=boolean], [remove=boolean], [selectedComponents=boolean], [split=boolean], [useComponentTags=boolean], [wire=string], [wireCount=uint])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
wire は、取り消し可能、照会可能、および編集可能です。
このコマンドは Wire デフォーマを生成します。| string[] | ワイヤ ノード名とワイヤ カーブ名 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
after(af)
|
boolean
|
|
||
|
||||
afterReference(ar)
|
boolean
|
|
||
|
||||
before(bf)
|
boolean
|
|
||
|
||||
components(cmp)
|
boolean
|
|
||
|
||||
crossingEffect(ce)
|
float
|
|
||
|
||||
deformerTools(dt)
|
boolean
|
|
||
|
||||
dropoffDistance(dds)
|
[uint, linear]
|
|
||
|
||||
dumpInfo(dui)
|
boolean
|
|
||
|
||||
envelope(en)
|
float
|
|
||
|
||||
exclusive(ex)
|
string
|
|
||
|
||||
fixedSetupData(fsd)
|
string
|
|
||
|
||||
frontOfChain(foc)
|
boolean
|
|
||
|
||||
geometry(g)
|
string
|
|
||
|
||||
geometryIndices(gi)
|
boolean
|
|
||
|
||||
groupWithBase(gw)
|
boolean
|
|
||
|
||||
holder(ho)
|
[uint, string]
|
|
||
|
||||
ignoreSelected(ignoreSelected)
|
boolean
|
|
||
|
||||
includeHiddenSelections(ihs)
|
boolean
|
|
||
|
||||
localInfluence(li)
|
float
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
parallel(par)
|
boolean
|
|
||
|
||||
prune(pr)
|
boolean
|
|
||
|
||||
remove(rm)
|
boolean
|
|
||
|
||||
selectedComponents(cms)
|
boolean
|
|
||
|
||||
split(sp)
|
boolean
|
|
||
|
||||
useComponentTags(uct)
|
boolean
|
|
||
|
||||
wire(w)
|
string
|
|
||
|
||||
wireCount(wc)
|
uint
|
|
||
|
||||
import maya.cmds as cmds # select a surface and a curve that you want to be a wire, then enter cmds.wire() # create a wire deformer on surface1 using curve1 and curve2 cmds.wire( 'surface1', 'curve1', 'curve2' ) # modify the dropoff distance and envelope on wire1 cmds.wire( 'wire1', edit=True, en=0.8, dds=[(0, 6),(1, 3.2)] )