Just made a bug report to autodesk, but since that's not viewable to the general public, posting here too:
Dynamic attributes created with addAttr that have the storable flag set to false are still written out to the file - see: http://pastebin.com/f3b83af36 import maya.cmds as cmds # Create a scene we will save cmds.file(f=1, new=1) node = cmds.createNode("transform", name='testNode') # Add a NON-STORABLE attribute cmds.addAttr(node, longName='notStorable', storable=False) cmds.setAttr(node + '.notStorable', 3) # Save our scene cmds.file( rename='storableTest.ma' ) cmds.file( force=True, save=True, type='mayaAscii') # Now, re-open that scene we just saved cmds.file('storableTest.ma', force=True, open=True) # Check that the non-storable attribute was, in fact, not stored print "Stored:", cmds.attributeQuery('notStorable', node = node, exists=1) --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
