0
乾杯、 特定の接頭辞を持つすべての属性を取得して配列に保存するツールを作成しています。 // Result: message caching isHistoricallyInteresting nodeState...
Maya MELリストアを配列に保存
私の問題:私は配列に特定のプレフィックスを持つ属性のリストを保存したい
メルコードIが独自にlistAttrを使用する場合
は、それが私にこのような何かを与えます:
string $currentSelection[] = `ls -sl`;
string $currentAttributes[];
$currentShapeNode = `ls -shapes -dag -sl $currentSelection`;
string $currentAttributes[] = `listAttr -ct "ai*"`;
print $currentAttributes;
$currentAttributes
リストは空のままです。私が間違っていることを理解できません。
を働くST
を探して
が働いたことをありがとうございます! –