Hi guys, ive put this on cg-talk and the Area, but it seems like no-one has been able to figure it out yet.
I dont know if this is a bug with the fbx-plug in, but ive only ever experienced this since ive installed the 2009 fbx plug ins.
Basically the fbx importer works fine when you import manually. However, if you try and run the import through a maxscript (without doing it manually first) it doesnt bring any animation in. Once you have done the import manually first then its fine. Its like theres some weirdness going on with the parameter settings unless its firstly done manually.
Anyways, heres the part of the maxscript i use for the operation…
[I]
loadMaxFile “O:\art\animation\blah.max”
fbxPath = getFiles “O:\art\animation*.fbx”
for f in fbxPath do
I’ve seen the same issue, but haven’t had the time to go in and hunt it down. I actually started using an earlier version of the FBX plugin for a while because of it.
It’s because the fbx plugin options are saved every time you use it manually. AFAIK some options can’t be set using the plugin maxscript exposure. But it’s easy to by pass. There is an xml file in your plugcfg directory. So if you set edit the xml yourself, then you can change any parameter you want without dealing with the buggy maxscript exposure.
I always get around problems like that by just manually saving out the settings as an fbximportpreset, making sure that’s in a place the script can access it, and just using the script to load the settings before importing - always seemed a little neater than trying to make sure every option was correctly set by the script.