There should be no difference whether a script is being run via Evaluate All or Scripting > Run Script. Just checked maxFilePath for the heck of it…
Can’t see why maxFilePath wouldn’t work. What kind of errors are you getting?
Seems too specific for off the shelf solution. Use FBX SDK.
When the file is dragged into a viewport a series of file notifications are generated. Namely #filePostOpen and #filePostMerge. What’s wrong with usin…
Obviously, I won’t be checking out what exactly went wrong but I see that the problem was indeed in import setting.
Sorry, I meant pushSettings.fbxpst It contains both Import and Export settings. I mean if it’s not the fbx_params.fbximportpres, then it’s pushSettin…
Then it must be fbx_params.fbximportpreset. No idea what that file is but it apparently contains both Import and Export options.
Just compare it with the setting file that works and check for the difference. Or alternatively, you can just save your working import settings and o…
The problem is not in #noprompt. FBX import settings file used in script (fbx_params.fbximportpreset) is set up the way which prevents importing all …
Viewport does blink but nothing else happens. The scene remains empty. Tested in 3dsMax 2018. Also, FBX export/import shouldn’t require any additiona…
After dragging I’m getting the message box: — Runtime error: pushSettings.fbxpst file not found.
Works as it should in 3dsMax 2018/19/20. Could this be just a bug?