How can I get a list of attributes from a node wich hold non-default values 
only??
In other words how can I get only the attributes who had been changed when the 
node was created?

I realize there is 
cmds.attributeQuery(attribute, node=mayaNode, listDefault=True)

But that function Cannot return the default value of non-numeric attributes.

What if I need the default value for string attributes and enum also?

Anyway, I don't really need the default value, I just want it to compare the 
default value against the actual value to see if it has been changed, is there 
any other option in Maya that does this already? cmds.listAttr(inUse=True) is 
not working.

When you save the shading network with Maya "export selected network".
And then opening the .ma file, I realize that only the non-default value 
attributes are stored, how does maya achieve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To post to this group, send email to python_inside_maya@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to