On Fri, Mar 20, 2009 at 17:23, barnabas79 <[email protected]> wrote:
>
> 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
[...]
> # 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)

You misunderstand the meaning of 'non-storable'. It means that the
*value* of the attribute will not be stored in the file. The attribute
itself will always be stored unless you remove it from the node.

-- 
-deane

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to