Import FBX/Save Max file....

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
  02 February 2009
Import FBX/Save Max file....

Wondering if anyone can help or point me in the right direction....

I'm trying to set up a simple script to allow the user to click a button and browse to a required FBX file. The script then needs to merge in the FBX file into the current max scene, and save the max scene using the recently merged FBX file's name into a parallel folder - Potentially as a batch on a whole folder of fbx's eventually.

I'm guessing this isn't too difficult, but I've only just skimmed the surface of maxscript and its still a little too far for me at the moment.

As I said before, if anyone could give me an incite as to how to do this, or point me in the direction of a similar script which I can dissect and figure out myself, that would be a great help.

Thanks in advance!
  02 February 2009
To give you some basic info on the process look up the following in the maxscript help:
"importfile" -- this will handle the actual imporrting of the file.
Quote: importfile "someDrive:\somePath\someFile.fbx" #noPrompt using:FBXIMP
- To set the various FBX settings prior to the import you will need to use the settings provided through the "FBX Import Dialog Access" section of the Help file.

- To handle the getting of the file you will want to look at the "File Name Parsing" section of the Maxscript Help to get the portion of the "someDrive:\somePath\someFile.fbx".

- To handle the saving of the Max file you will want to look in the "3ds Max File Loading and Saving" section of the help.

Hope that gives you some direction on what you need,
"The Evil Monkey hiding in your closet."
  02 February 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:44 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.