What version and OS first of all?

I've had similar problems where my scripted FBX process suddenly changes.

After choking through a lot of help docs and tutorials, I've been
(relatively happily) using PyMEL's mel module, as suggested in this TAO
thread:
http://tech-artists.org/forum/showthread.php?4988-Problem-doing-an-FBX-export-with-PyMEL

Example from the thread:
pm.mel.FBXResetExport()
pm.mel.FBXExportBakeComplexAnimation(v=False)
pm.mel.FBXExportConstraints(v=False)
pm.mel.FBXExportInputConnections(v=False)
pm.mel.FBXExportUseSceneName(v=True)
pm.mel.FBXExportInAscii(v=True)
pm.mel.FBXExportSkins(v=True)
pm.mel.FBXExportShapes(v=True)
pm.mel.FBXExportCameras(v=False)
pm.mel.FBXExportLights(v=False)
pm.mel.FBXExportFileVersion(v='FBX201300')
filename = 'path_to_export_file'
pm.mel.FBXExport(s=True, f=filename)

That is probably not your issue and it would be nice to know what happened,
but maybe it will work.

On Mon, Feb 23, 2015 at 3:53 PM, Lidia Martinez <[email protected]>
wrote:

> All my process was ok. I used  cmds.file( path, type = "FBX", return new
> nodes.... )
>
> Now i execute and tells me "FBX" is not a known type. ?¿¿.
> I import by hand and says its "Fbx". It was working days ago. And a window
> for the settings appears now, making all my script fail.
>
> I wonder what the hell happened from Thuesday. Is it an unexpected
> update?. did somebody entered my pc at work? (ankward). It was working, i
> imported fbx files, no prompt, FBX with uppercase worked...
>
> I read here:
>
> http://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/Maya/files/GUID-699CDF74-3D64-44B0-967E-7427DF800290-htm.html
> ...
> It is not recommended to use python file's command, but fbxImport from
> MEL. O_O  not a "return new nodes" parameter available now... so i have to
> rewrite everything i did.
>
> Does anybody know what happened here?.
>
> --
> Lidia
>
> --
> 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/CAAB1%3D8zq1nMS_vHZ9wjhiYZ2FFejnmYhZNGsJyRq0o91q%3DqXig%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAAB1%3D8zq1nMS_vHZ9wjhiYZ2FFejnmYhZNGsJyRq0o91q%3DqXig%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAHUba0%2BtwP7SFH5Nxdj_%2BVkmLQ0vSVFxSXR84SEbr2g3q7cnJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to