Notifications
Clear all

[Closed] FBXIMP #noprompt doesn't work

Using max 2015
line of code: importfile (filename) #noprompt using:FBXIMP

if I keep #noprompt maxscript just do nothing – max viewports just blinks. but if I remove #noprompt the maxscript opens import dialog and then import FBX properly.

I don’t need to see import dialog, how to get #noprompt to work?

17 Replies

Works as it should in 3dsMax 2018/19/20.
Could this be just a bug?

thanks, can you check my script within you max versions?

here’s script: _maxscript.zip (9.9 KB)
here’s an example: BAR_FACE_A_EyesMouth.mesh.fbx.zip (126.1 KB)

load maxscript into max, drop attached FBX onto drop spot of script ui

add: I have many issues with this script in FBX import preset part but only in max 2010+
It work just fine in my 2009 version in which I work all the time.

After dragging I’m getting the message box:
-- Runtime error: pushSettings.fbxpst file not found.

You need to have that file for some reason
pushSettings.fbxpst (17.0 KB)

put it here: C:\Users[USERNAME]\Documents\3dsmax\FBX\Presets\PushPop

Viewport does blink but nothing else happens.
The scene remains empty.
Tested in 3dsMax 2018.

Also, FBX export/import shouldn’t require any additional preset files.
Options can be specified via scripting.

if you commit #noprompt in my script you’ll get an import dialog but model will be loaded
that’s what I called “doesn’t work”
it does work in max 2009 though

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 the FBX data.
And when you import FBX with an import dialog it simply overrides settings used in fbx_params.fbximportpreset and that’s why it works.

You should tweak the fbx_params.fbximportpreset in order for this to work.

do you know how do I need to tweak it?

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 overwrite the fbx_params.fbximportpreset. That way is simpler, but it can also overwrite some other options which need to be set up in a specific way.

Page 1 / 2