RE: FBX question

Date : Wed, 10 Jan 2007 20:46:03 +0900
To : <XSI(at)Softimage.COM>
From : "Hans,Veenendaal,AMplus R&D,SOJ" <Hans_van_Veenendaal(at)sega.co.jp>
Subject : RE: FBX question
Hello Andre,

In VBScript you should be able to call custom commands without using the ExecuteScriptCommand form, but because of the space in the command name you cannot.
That's why I hacked the fbxxsi.dll to have 'FBX_Export' and 'FBX_Import' as the command names instead of 'FBX Import' and 'FBX Export'. It just makes more sense.

Whoever came up with having/allowing spaces in command names should be fired. :-)

Anyway, thanks for the ExecuteScriptCommand solution. Now I can run the script on the unmodified DLL as well. Much appreciate it.

Hans.

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Andre Adam
Sent: Wednesday, January 10, 2007 7:31 PM
To: XSI(at)Softimage.COM
Subject: Re: FBX question

For importing it works like this, should be the same for a scripted export:

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

Cheers!

-André


Hans,Veenendaal,AMplus R&D,SOJ wrote:
>
> How do you export FBX from script?
>
> FBX Export "C:\Temp\Test.fbx"
>
> doesn't work.
>
> Thanks,
>
> Hans.
>

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

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