Notifications
Clear all

[Closed] obj import, #noprompt does not work

so, in the help file this is the code that’s supposed to be used:

importFile "C:\\myobj.obj" using:OBJIMP #noPrompt

The only probmel I’ve got now is that the obj dialogs pops up.
I really do not need to see it at all, so my question is what to try next?

The exportFile function works fine with the #noprompt flag.
I did not find any flag in the ini settings either for this (for the obj exporter).

exportFile "C:\\myobj.obj"#noPrompt selectedOnly:true using:OBJEXP
21 Replies
1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

as i know it’s up to import/export plug-in developers to support #noPrompt flag and/or quiet mode. so the developers of OBJ import don’t do it.

 importFile "C:\\myobj.obj" #noPrompt 

I never met such problem, but i not use “using” argument
and might this come from it?.. just guessing

when I try the above, it opens the ‘Obj import options GUI’. (3dsmax 2012 x64).
This is what I want not to show up.
I just want it to import it.

I guess maybe we can hook the window, and make it auto-press the “Import” button maybe?`
so that when it show’s up it’ll just continue automatically.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

i’ve played with OBJ import/export trying to not show the prompt dialog. no luck.
it’s possible to hide the prompt dialog after its pop-up, but the pop-up will annoy me anyway.

hmm, so odd then… s’d bother with UIAccessor in this case.
i never touch Max 2012 but have customer who works exclusive with obj format in 2011/2012 and he never report any problems.
so this is a bit of mistery to me (:

2 Replies
(@denist)
Joined: 11 months ago

Posts: 0

probably your friend just ignores the prompt dialog popping-up. it always happens since the new dialog was implemented. since max 8 maybe ???

(@panayot)
Joined: 11 months ago

Posts: 0

Nope, am sure no popup import dialog on Max 9/2008/2009/2010/2011.
Only for Max 2012 i can tell, but i have enough point to trust to my customer.
I did a batch processing scripts for him (pipe whole directory of .obj’s) and
if he has popup dialog unlikely he would hide this from me and castigate o.s. by pressing buttons consistently throughout.

Uncle Max’s oddities are endless

i don’t have early versions of max now, but the dialog pops-up in 2010 32/64, 2012 32/64… i don’t have 2011 to test.
it doesn’t block import/export. it just very annoying, and probably slows down the process.

1 Reply
(@panayot)
Joined: 11 months ago

Posts: 0

Hey, I trust you.
It’s so hard for you to believe that this works fine here for years?
Just not hurry to tell that i’m lucky man with bonused max
Maybe feedback from more people will help to see this from other point

i remember when something about 10 years ago i used… hmm… how to say… a gift version of max.
there was a readme file that was saying how to setup the hard-lock key, and had a friendly intimation about some bugs were fixed.
maybe you are using a gift version, aren’t you?

1 Reply
(@panayot)
Joined: 11 months ago

Posts: 0

haha, i love to have/own such gift version but this is a dream only, right?
now am going to bed but tomorrow if you still have some doubt i can fire up my camtasia and record the screen.

лека нощ … до утре!
following the rule of this forum: “Leka nosch… do utre!”

I guess this dialog the talk is about is the progress indicator ?

Beginning with Max2009 and up, the previously shipping object importer based on Habware’s ( Austrian guy ) Obj2Max/Max2Obj plugins, got replaced by the object importer coded by Guruware ( Manfred Grim, another austrian guy ).

While the new importer does have a lot more features and works faster, the interface is a bit alien to Max, so is this import progress bar , which apparently doesn’t respect the #noprompt flag…

for now I worked around it.

Initially I wanted each object as a obj file,
but then I realized that I could do it by exporting to 1 big obj file instead.
that means that I only had to press import once per scene.
which is OK for what I’m using it for.

Unlikely they talk about this progress bar, its popups here as well but no need any user activity.
So, you can suppress obj imporer (settings) dialog with #noprompt like me? Or i’m alone?

Page 1 / 2