The main problem is that you must uncheck "Derive from maya" then you can edit the "undimmed" (affected by unchecking "Derive from maya checkbox) attributes in the Attribute SpreadSheet.
I finally got a script that it will uncheck each objects' "Derive from maya checkbox. Then I can go to Attribute Spreadsheet to edit the "undimmed" attributes.
string $selectedGroup = `ls -sl`;
for ($i = 0; $i < (size($selectedGroup));$i++)
setAttr ($selectedGroup[$i]+".miDeriveFromMaya") 0;
But I want to set the "undimmed" attributes directly, which mean I don't want to go into Attribute Spreadsheet and set attributes by hand. I want to set these (undimmed) attributes directly by MEL.
The following commands are not working.
Any help will be appreciated..