Re: [Script] Export FBX

Date : Tue, 24 Oct 2006 16:08:21 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: [Script] Export FBX
Hi Marc,

this is for importing fbx, but I guess exporting works similar:

 //Sets the correct FBX import options
 function fSetFBXImportOptions(){
   FBXImportAnimation(true);
   FBXImportCameras(false);
   FBXImportForceNormEnvelope(false);
   FBXImportKeepXSIEffectors(true);
   FBXImportLights(false);
   FBXImportMode("kCreate");
   FBXImportProtectExprDrivenFC(false);
   FBXImportScaleFactor(1.0);
   FBXImportSetEnvelopes(false);
   FBXImportSkeletonsAsNulls(true);
 }

fSetFBXImportOptions();
ExecuteScriptCommand("FBX Import", Array(eFBXFiles.item(), 1)); //Import FBX file


Cheers,

   -André


Brinkley, Marc wrote:
Hello List
Any clues as to whether or not I can script exporting to FBX?
I have several files that need to be exported to FBX and I want to do them as a batch through the command line. Pretty much have the script ready. Just not sure on how to fire off and set options for the FBX exporting.
Any ideas?
Thanks!


_______________________________________
*Marc Brinkley - EA|Chicago*
mbrinkley [at] ea.com
312.661.7412
"[Fight Night] Round 3 on an Xbox 360 on a widescreen LCD TV is so pretty it's the Jessica Alba of video gaming."



--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.