CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 02-10-2009, 11:04 PM   #1
gingamonkey
Frequenter
 
gingamonkey's Avatar
portfolio
Gingamonkey
Lead Animator
Midlands, United Kingdom
 
Join Date: Oct 2002
Posts: 110
Import FBX/Save Max file....

Hi,
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!
 
Old 02-10-2009, 11:31 PM   #2
PiXeL_MoNKeY
Expert
 
PiXeL_MoNKeY's Avatar
Eric Craft
Dallas, USA
 
Join Date: Mar 2002
Posts: 5,735
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,
-Eric
__________________
"The Evil Monkey hiding in your closet."
 
Old 02-10-2009, 11:31 PM   #3
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 03:59 AM.


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