ジャンプ先: 概要. 戻り値. 関連項目. フラグ. MEL 例.
listAttr [-array]
[-caching] [-category string] [-changedSinceFileOpen] [-channelBox] [-connectable] [-extension] [-fromPlugin] [-hasData] [-hasNullData] [-inUse] [-keyable]
[-leaf] [-locked]
[-multi] [-output] [-ramp]
[-read] [-readOnly] [-scalar]
[-scalarAndArray] [-settable] [-shortNames] [-string string] [-unlocked] [-usedAsFilename] [-userDefined] [-visible] [-write]
[objects]
listAttr は 「元に戻す」が可能、「照会」が不可能、「編集」が不可能 です。
ノードのアトリビュートがリストされます。フラグを指定しないと、すべてのアトリビュートがリストされます。| string[] | : 基準に一致するアトリビュートのリスト |
| ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
|---|---|---|---|---|
-read(-r) |
||||
|
||||
-write(-w) |
||||
|
||||
-scalar(-s) |
||||
|
||||
-array(-a) |
||||
|
||||
-scalarAndArray(-sa) |
||||
|
||||
-visible(-v) |
||||
|
||||
-connectable(-c) |
||||
|
||||
-category(-ct) |
string |
|||
|
||||
-fromPlugin(-fp) |
||||
|
||||
-inUse(-iu) |
||||
|
||||
-keyable(-k) |
||||
|
||||
-channelBox(-cb) |
||||
|
||||
-caching(-ca) |
||||
|
||||
-extension(-ex) |
||||
|
||||
-multi(-m) |
||||
|
||||
-locked(-l) |
||||
|
||||
-unlocked(-u) |
||||
|
||||
-userDefined(-ud) |
||||
|
||||
-settable(-se) |
||||
|
||||
-shortNames(-sn) |
||||
|
||||
-string(-st) |
string |
|||
|
||||
-readOnly(-ro) |
||||
|
||||
-output(-o) |
||||
|
||||
-hasData(-hd) |
||||
|
||||
-hasNullData(-hnd) |
||||
|
||||
-leaf(-lf) |
||||
|
||||
-changedSinceFileOpen(-cfo) |
||||
|
||||
-ramp(-ra) |
||||
|
||||
-usedAsFilename(-uf) |
||||
|
||||
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.