Hi, I have a file import script and I want to make it into an importer 
plugin.

Hopefully someone can help me with these questions:


   - Does MPxFileTranslator exist in Python API 2.0? If not, 
      - should I use API 1.0 or should I use a different class?
      - where can I find documentation for Python API 1.0? I was using the 
      C++ documentation but MFnPlugin.registerFileTranslator is apparently 
      different.
   - Should I use MDagModifier to create nodes and assign materials? At the 
   moment, when I assign geometry to shading groups and then use the sets 
   command to look at the shading groups, they show as empty. As a workaround, 
   I'm getting each shading group in Pymel and calling 
   sg.dagSetMembers.evaluateNumElements() to make it update, which seems like 
   a sign that I'm doing it wrong.
   - Are there any examples of adding options to importer plugins? Also, 
   can import options be accessed when the user drags a file into the scene? I 
   have a lot of options I'd like to add if I can.

Thanks!

Boon

-- 
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/19b1047c-36c7-4b6b-9a8e-84cff626b07c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to