Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
andrewmelfi
Home
›
Technical Talk
Maya script - multi object export to separate FBX files
wr_uk
polycounter lvl 9
Offline /
Send Message
wr_uk
polycounter lvl 9
Oct 2013
Hi,
I wonder if any can point me in the right direction
I'm after a maya script that will enable me to export a number of selected objects to separate FBX files.
Ive had a look around but cant seem to find what I'm looking for.
Thanks
0
·
Share on Facebook
Share on Twitter
Replies
Offline /
Send Message
passerby
polycounter lvl 12
Oct 2013
take
this python file
drop it in your maya scripts directory. than make a shelf button with this python code.
import fbxExporter fbxExporter.UI()
if move to orgin is checked off, it will move meshes to 0,0,0 x,y,z in the fbx files.
The Script uses the object names for the fbx file names.
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
wr_uk
polycounter lvl 9
Oct 2013
Thanks for the reply.
I created a .py shelf button from the script but nothing happens.
What do I need to do with the code:
import fbxExporter
fbxExporter.UI()
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
passerby
polycounter lvl 12
Oct 2013
you run that code in the python script editor, or you make a python shelf button with that code, and use that to run it.
for it to work, the python file i have in the first post, must be in your maya scripts directory.
python is a case sensitive language, so that could be your problem.
if it works the UI looks like this
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
wr_uk
polycounter lvl 9
Oct 2013
Excellent!! Got it working. Thanks
0
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Replies
if move to orgin is checked off, it will move meshes to 0,0,0 x,y,z in the fbx files.
The Script uses the object names for the fbx file names.
I created a .py shelf button from the script but nothing happens.
What do I need to do with the code:
import fbxExporter
fbxExporter.UI()
for it to work, the python file i have in the first post, must be in your maya scripts directory.
python is a case sensitive language, so that could be your problem.
if it works the UI looks like this