are you trying to save out whole cloth scenes? if so really you could
look at writing your own XML exporter using miniDom. then you can write
out anything
https://docs.python.org/2/library/xml.dom.minidom.html
most of the presets use xml anyway.
a quick gooley search with "Maya miniDom" should give you plenty to
start with.
john
On 13/04/2015 5:06 PM, [email protected] wrote:
Hi, is there any way to save node dynamic constraint preset using maya.cmds? I
was only able to save the shape node attributes..thx
cmds.nodePreset( save=("dynamicConstraint1","_test1") )
cmds.nodePreset( save=("dynamicConstraintShape1","_test2") )
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/552BAE52.6030202%40gmail.com.
For more options, visit https://groups.google.com/d/optout.