I apologize in advance if I did not make myself clear, really sorry about 
that.

Basically, I am trying to source for Rigs in the database (if you see the 
screenshot below, the UI is still not exactly done but...), User will first 
source the rigs in the Search Filter, they can select multiple rig versions 
and the add the rigs by clicking onto the "Add Rig" button which will then 
display under the QTreeWidget under the Migrate section

Then via the list of rigs in the QTreeWidget in the Migrate section, based 
on each item in the list, I would like to import each item into a new scene 
since very much later on, I will need to get this published out based on 
each new scene. 

Of course before that, I would like to get this importing + new scene 
thingy settled first before I try advacning to the more complicated 
stuff... And so that is why I had wanted it to be an automated process..

About the standalone as mentioned by Educardo, I tried:
import maya.standalone as standalone
standalone.initialize(name='python')
but I gotten this error in my editor:
# Error: initialize() takes no keyword arguments
# Traceback (most recent call last):
#   File "<maya console>", line 2, in <module>
# TypeError: initialize() takes no keyword arguments # 


<https://lh3.googleusercontent.com/-2y3UvoSDF34/VOFt3UrIAsI/AAAAAAAAAD4/0d8hueSoPK4/s1600/ykt.2015-02-16_12-00-45.jpg>

-- 
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/34d04a91-c7e0-4ea8-b876-a68c23b49ad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to