ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
listAttr [-array] [-attributeType string] [-caching] [-category string] [-changedSinceFileOpen] [-channelBox] [-connectable] [-extension] [-fromPlugin] [-fullNodeName boolean] [-hasData] [-hasNullData] [-inUse] [-keyable] [-leaf] [-locked] [-multi] [-nodeName boolean] [-output] [-ramp] [-read] [-readOnly] [-scalar] [-scalarAndArray] [-settable] [-shortNames] [-string string] [-unlocked] [-usedAsFilename] [-userDefined] [-visible] [-write]
[objects]
listAttr は、取り消し可能、照会不可能、および編集不可能です。
ノードのアトリビュートがリストされます。フラグを指定しないと、すべてのアトリビュートがリストされます。string[] | : 基準に一致するアトリビュートのリスト |
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-array(-a)
|
|
|||
|
||||
-attributeType(-at) 2023.1
|
string
|
|||
|
||||
-caching(-ca)
|
|
|||
|
||||
-category(-ct)
|
string
|
|||
|
||||
-changedSinceFileOpen(-cfo)
|
|
|||
|
||||
-channelBox(-cb)
|
|
|||
|
||||
-connectable(-c)
|
|
|||
|
||||
-extension(-ex)
|
|
|||
|
||||
-fromPlugin(-fp)
|
|
|||
|
||||
-fullNodeName(-fnn) 2023.1
|
boolean
|
|||
|
||||
-hasData(-hd)
|
|
|||
|
||||
-hasNullData(-hnd)
|
|
|||
|
||||
-inUse(-iu)
|
|
|||
|
||||
-keyable(-k)
|
|
|||
|
||||
-leaf(-lf)
|
|
|||
|
||||
-locked(-l)
|
|
|||
|
||||
-multi(-m)
|
|
|||
|
||||
-nodeName(-nn) 2023.1
|
boolean
|
|||
|
||||
-output(-o)
|
|
|||
|
||||
-ramp(-ra)
|
|
|||
|
||||
-read(-r)
|
|
|||
|
||||
-readOnly(-ro)
|
|
|||
|
||||
-scalar(-s)
|
|
|||
|
||||
-scalarAndArray(-sa)
|
|
|||
|
||||
-settable(-se)
|
|
|||
|
||||
-shortNames(-sn)
|
|
|||
|
||||
-string(-st)
|
string
|
|||
|
||||
-unlocked(-u)
|
|
|||
|
||||
-usedAsFilename(-uf)
|
|
|||
|
||||
-userDefined(-ud)
|
|
|||
|
||||
-visible(-v)
|
|
|||
|
||||
-write(-w)
|
|
|||
|
フラグはコマンドの作成モードで表示できます | フラグはコマンドの編集モードで表示できます |
フラグはコマンドの照会モードで表示できます | コマンド内でフラグを複数回使用できます。 |
listAttr -r -s; // This will list the scalar readable attributes of the // selected nodes. If more than one node is selected attributes // may be listed several times. listAttr -s -r -w -c -st centerX -st centerY; // This will list all scalar, readable, writable, and connectable // attributes whose names are "centerX" or "centerY". listAttr -r -st "center*" -ct "a*"; // This will list all readable attributes whose names match // "center*" (e.g. "centerX" or "centerpede") and who belong to // a category starting with the letter "a". listAttr -s -cfo nurbsSphere1; // This will list all scalar attributes of // nurbsSphere1 that have been changed since the // file in which nurbsSphere1 is defined has been // opened. If nurbsSphere1 comes from a referenced file, // the result will be all the attributes that have changed // since the referenced file was opened.