Been doing a ton of stuff with FBXExport lately. I recommend just going through mel.eval(). I've experienced a lot of weird stuff when trying to do it through pymel.

On 9/15/2014 2:55 PM, Eric Thivierge wrote:
Awesome thanks.

On Monday, September 15, 2014 5:54:22 PM, Geordie Martinez wrote:
there is no pymel api for FBX to my knowledge, BUT
you can python-ify your calls by using pm.mel
then the mel command is python. try it.

import  pymel.core as pm
pm.loadPlugin("fbxmaya")  # LOAD PLUGIN

# EXAMPLE SYNTAX
# pm.*mel*.FBXCommand(args)

#for example
pm.mel.FBXExport(f="FILENAME")
pm.mel.FBXImport(f="FILENAME",t="TAKE")


On Mon, Sep 15, 2014 at 1:59 PM, Eric Thivierge
<[email protected] <mailto:[email protected]>> wrote:

    Looking around in the PyMel docs not finding too much info on
    FBXExports via PyMel. Anyone got any info?

    Thanks in advance,
    Eric T.

    --
    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]
<mailto:python_inside_maya%[email protected]>.
    To view this discussion on the web visit
https://groups.google.com/d/__msgid/python_inside_maya/__5417533C.8050801%40hybride.com
<https://groups.google.com/d/msgid/python_inside_maya/5417533C.8050801%40hybride.com>__.
    For more options, visit https://groups.google.com/d/__optout
    <https://groups.google.com/d/optout>.


--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/CABPXW4h48ZBiHY%3Dxhc3QnchnEGgtGBBfFyGzE7bb4dJRWSJZ4Q%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CABPXW4h48ZBiHY%3Dxhc3QnchnEGgtGBBfFyGzE7bb4dJRWSJZ4Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.



---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

--
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/54176505.9070205%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to