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 3ds® Max® / MaxScript / Help, FbxImporterSetParam -- Type error: Call needs function or class, got: undefined, in max 2009
  RSS 2.0 ATOM  

Help, FbxImporterSetParam -- Type error: Call needs function or class, got: undefined, in max 2009
Rate this thread
 
43011
 
Permlink of this thread  
avatar
  • Total Posts: 3
  • Joined: 01 October 2009 09:37 PM

Hi everyone.

I have a script that works perfectly well in Max 2010 and I’m trying to make it back compatible with 3dsmax 2009.

Basically it imports an FBX file that is meant to be scaled to the system units.

When I call the following in max 2010 it works perfectly.

FbxImporterSetParam "ScaleFactor" sysScaleAmount

The same call fails in max 2009 sp0, and sp1, with

-- Type error: Call needs function or class, got: undefined

ps. Although “ScaleFactor” isn’t in the maxscript help, all other arguments also throw the Type error warning (in 2009).



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Works here - even with the “ScaleFactor” which isn’t in the help. Tried 6 different commands (including Scalefactor) and all returned “OK”. Max 2009 32bit, SP1.

Have you applied the latest FBX updates?



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0
avatar

Many thanks!

Applied the latests FBX update and it worked perfectly.



Replies: 0
avatar
  • Location: West Midlands, England, UK
  • Total Posts: 14445
  • Joined: 06 August 2007 11:06 PM
  • Permlink of this post

Does mean you would have to inform anyone installing the script that FBX version xxx is required or you’ll be getting a lot of emails… ;-)



Max 4.2 through 2013.
XP-64 (SP2)
NVidia 9800GTX-512 (Driver 266.58).
Core 2 Quad Q6600 2.4GHz, 8Gb Ram, DX9.0c.

Replies: 0
avatar

I get the same error after installing a plugin for Real Flow. I wonder if theres a way to temporarily disabled the plugin after its used?



"If I see that damn teapot one more time....”

3ds Max 6.5 - Max 2012
Windows 7 Intel Core 2 Quad Q9400 2.13 GHZ
64-Bit, 8 GB RAM

Video Card: Galaxy GeForce 210 (Nvidia)

My Website: http://drmoore3d.com

Replies: 0