Project Photofly 2.1 Now Available
New features include FBX support.
via Project Photofly 2.1 Now Available – It is Alive in the Lab.
Project Photofly 2.1 Now Available
New features include FBX support.
via Project Photofly 2.1 Now Available – It is Alive in the Lab.
I find this usefull script in the area :
but how can I save the fbx file in a specified directory (i.e. “C:\export\” )
Thank You,
Benoit
//SelectObj(“cone, cylinder, disc, sphere”, null, null);
var oObjects = new ActiveXObject( “XSI.Collection” );
oObjects.Items = Selection;
FBXExportSelection( true );
oEnum = new Enumerator( oObjects ) ;
for (;!oEnum.atEnd();oEnum.moveNext() )
{
var oItem = oEnum.item() ;
LogMessage( oItem.fullname );
SelectObj( oItem );
// Export selected object
FBXExport( XSIUtils.Environment(“TEMP”) + “\\” + oItem.name + “.fbx” )
}
This should do it:
FBXExport( “C:\\export\\” + oItem.name + “.fbx” )
This is what I tried but I get this message :
// ERROR : Caractère incorrect – [line 12]
ok, I understand it was converted with the wrong “”.
Thx