[Closed] Accessing fbx Exporter 2012 settings
With the 2012 version of fbx exporter, were added many useful settings, such as animation baking, ASCII format, and so on… The problem is that maxscript seems to expose only the 2009 version, and I can’t find any script access to those new settings.
I would like also be able to change the user-defined export settings prior to export.
Any idea?
I’ve had all manner of problems accessing the settings via maxscript for the fbx exporter for several versions now.
I’ve ended up writing a gigantic hacky callback which clicks the buttons for me as I just can’t seem to get the settings i change via script to stick.
I’d love to hear if people have got this working ‘as intended’ though…
Just out of curiosity, how do you click the buttons, since the panel itself is not exposed to maxscript ?
It’s basically just taking the following a little further:
http://forums.cgsociety.org/showthread.php?t=485300
I use a callback and window handles. Like I say, its a big hack!
Amazing… Can it be used to change the selection of a dropdown list ? Or can UIAccessor only press buttons ?
I’m not 100% sure. It’s quite a while since I had a mess around with it. Should be simple enough to experiment though
Just curious, what can’t you access?
Did you dump the name of the properties that can be set for the currently installed FBX importer/exporter?
FBXExporterGetParam "FBXProperties"
FBXImporterGetParam "FBXProperties"
I’m running 3dsmax 2011 updated with FBX 2013. I can get/set animation baking parameters
/* spaces in long words are added by forum tools */
FBXExporterGetParam "Export|IncludeGrp|Animation|BakeComplexAnimation|BakeFrameStart"
FBXExporterSetParam "Export|IncludeGrp|Animation|BakeComplexAnimation|BakeFrameStart" 5
FBXExporterGetParam "Export|IncludeGrp|Animation|BakeComplexAnimation|BakeFrameStart"
(I didn’t actually export anything, just peeked & poked at the settings…)
Oh that’s great, I didn’t know this function “FBXExporterGetParam” (It’s not present in the help…)
I will take a look at that, thanks for the tip :bounce: