Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX Plug-ins Import-Export Discussions / FBXExporterSetParam doesn't work in a function (MaxScript) 2009.1 max9
  RSS 2.0 ATOM  

FBXExporterSetParam doesn't work in a function (MaxScript) 2009.1 max9
Rate this thread
 
14090
 
Permlink of this thread  
avatar
  • zhangy
  • Posted: 04 July 2008 11:48 AM
  • Total Posts: 1
  • Joined: 23 August 2006 08:43 AM

I’m trying to set the FBX properties though maxscript with FBXExporterSetParam command.
before 2006.11 it never work. In 2009.1 it finally work, but you can’t run this in a function. try this

fn fbxPluginSetup=
(
        
FBXExporterSetParam "Animation" false
)
fbxPluginSetup()
-- 
Error occurred in fbxPluginSetup()
--  
Frame:
--   
FBXExporterSetParamundefined
-- Type errorCall needs function or class, gotundefined

anyone find similar issue? I’m running max9 sp2 on winxp32
YZ



Replies: 0
avatar

Hi Zhangy,

This error normally occurs when the FBX plug-in has not been loaded.  I’m not sure if this is the case for you, but please try executing either or both of these commands before running your script:

FBX EXPORTER:
pluginManager.loadClass FBXIMP

FBX IMPORTER:
pluginManager.loadClass FBXEXP

Let me know if this solves your issue.

[This will be documented in our future release of the plug-ins.]

Trevor Adams - Autodesk FBX



Replies: 1
/img/forum/dark/default_avatar.png

Hi Trevor,

Is this still a bug? I tried your lines above but it didn’t work. I still can’t set the exporter parameters.

pluginManager.loadClass FBXEXP
FBXExporterSetParam “Animation” true
exportFile (SavePath) selectedOnly:True using:FBXEXP

thanks
Brian

Author: brian1_nc@yahoo.com

Replied: 15 November 2011 04:48 AM  
avatar
  • tamat
  • Posted: 31 July 2008 08:46 AM

I have a similar problem. The thing is that MAX doesnt recognize the function FBXExporterSetParam unless I reevaluate the script everytime I reopen 3DsMax 2008.

Any idea?



Replies: 0