Here you go

http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/optionVar.html



  And it´s as easy as it sounds, just store your options with 
maya.cmds.optionVar and it gets saved into your home account, it accepts a 
standardquery=True flag to get default options and so forth.  Presumably you 
are coming up empty on a google search as there isn’t really much more to it 
than is on that page.


  However, If you are looking for something that will stick into the files 
check out maya.cmds.fileInfo instead, whatever you save through that will get 
embedded into the .mb or .ma file you save out rather than only save the 
preference on your account.


  Hope this helps, have some snippets and notes around in a pile somewhere but 
you should hopefully get all you need from the link above or typing in:



import maya.cmds

help(maya.cmds.optionVar)

-- 
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/52efdc7e.8108b40a.24b4.fffff125%40mx.google.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to