What kind of weirdness? do you have any stack traces or examples? I'd like
to see if it's an unknown bug or if there are problems like having an
argument called "import" or something that will break python.
behind the scenes pm.mel is doing mel.eval so there shouldn't any weirdness.

On Mon, Sep 15, 2014 at 3:15 PM, Yi Liang Siew <soni...@gmail.com> wrote:

> 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
>>> <ethivie...@hybride.com <mailto:ethivie...@hybride.com>> 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 python_inside_maya+__unsubscr...@googlegroups.com
>>> <mailto:python_inside_maya%2bunsubscr...@googlegroups.com>.
>>>     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 python_inside_maya+unsubscr...@googlegroups.com
>>> <mailto:python_inside_maya+unsubscr...@googlegroups.com>.
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
> 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.
>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABPXW4icfM%3DAkY2C%2BevTTv%2BXwoA_KJqqKCWtPG6x3Hy%2BDQJWXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to