Re: [Script] Export to FBX via Script

Date : Wed, 01 Nov 2006 17:26:12 +0100
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: [Script] Export to FBX via Script
Not in front of it right now, but using this import code snippet as a basis to get the export running did not work out?

   -André

//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



Brinkley, Marc wrote:
Is it possible to export a scene to FBX with a script?
I tried using the FBX command with no luck
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.