listAttr [-array] [-caching] [-changedSinceFileOpen] [-channelBox] [-connectable] [-hasData] [-hasNullData] [-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)
|
|
|
||
|
||||
-keyable(-k)
|
|
|
||
|
||||
-channelBox(-cb)
|
|
|
||
|
||||
-caching(-ca)
|
|
|
||
|
||||
-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 -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.