3dsmax9 IgnorePopUp Issue

Hi,



I tried to do a IgnorePopup function but the same problem still happens. Any suggestion



0: STDOUT: 8/10/2007 15:16:11 PM;

0: STDOUT: Max install location: c:\3dsmax9<br>
0: STDOUT: 8/10/2007 15:16:11 PM; Max file being rendered: c:\deadline\slave\jobsData\car-shaders2.max

0: STDOUT: 8/10/2007 15:16:11 PM; Renderer: V-Ray Adv 1.5 RC3

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] ============================================================

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] Console created, V-Ray Adv 1.5 RC3 for x86 from Oct 17 2006, 06:03:50

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] ============================================================

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] Compiled with Intel C++ compiler, version 9.1

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] Host is 3dsmax, version 9

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] V-Ray DLL version is 1.49.80

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] ============================================================

0: STDOUT: 8/10/2007 15:16:25 PM; [V-Ray] Console created, V-Ray Adv 1.5 RC3 for x86 from Oct 17 2006, 06:03:50

0: STDOUT: 8/10/2007 15:16:26 PM; [V-Ray] ============================================================

0: STDOUT: 8/10/2007 15:16:26 PM; [V-Ray] Compiled with Intel C++ compiler, version 9.1

0: STDOUT: 8/10/2007 15:16:26 PM; [V-Ray] Host is 3dsmax, version 9

0: STDOUT: 8/10/2007 15:16:26 PM; [V-Ray] V-Ray DLL version is 1.49.80

0: STDOUT: 8/10/2007 15:16:26 PM; Max is ready

0: STDOUT: 8/10/2007 15:16:27 PM; Frame 0 assigned

0: WARNING: Detected popup dialog “Render history settings”.

0: WARNING: ---- dump of dialog ----

0: WARNING: Button: …

0: WARNING: Static: VFB history temp path:

0: WARNING: Edit:

0: WARNING: Static: Maximum size on disk (MB):

0: WARNING: Edit:

0: WARNING: Button: OK

0: WARNING: ---- end dump of dialog ----

Scheduler Thread - Render Thread 0 threw an error:

Scheduler Thread - Exception during render: Dialog popup detected: Title “Render history settings”, Message “Maximum size on disk (MB):”

Can you post the code you've added to the 3dsmax9.dlinit file to ignore the popup? Often in cases like this, the problem is in the regular expression syntax being used.

Also, you might have to handle the popup in this case, as opposed to simply ignoring it. Popups should only be ignored if they don't halt the rendering progress. If a button press is required for the render to continue, then the popup should be handled instead.

In this case, I believe the popup handling code should look like this:

HandlePopup#=Render history settings
HandlePopupResponse#=OK

This should press the OK button when this popup is detected.

Cheers,
 - Ryan

A note on my last post. Make sure to replaced the ‘#’ in the two lines with the appropriate number (based on the number of popup handles you already have in your dlinit file).

Tried both of these and neither worked:



HandlePopup1=.Render history settings.

HandlePopupResponse1=OK



IgnorePopup0=.Rendering In Progress.

IgnorePopup1=.Render history settings.



Kinda odd that in version 3dsmax8, it never complained about this popup til version 9. It just the window that says Rendering in progress and you have the choice to either pause render or cancel render.

Hmm, your syntax looks correct. Do you know whether or not the OK button

on the Render history settings is enabled when the popup is displayed? I

did notice that there is a ‘VFB history temp path’ setting, so maybe the

dialog is expecting a path before the OK button is enabled. If that is

the case, unfortunately we don’t have a means of handling it yet.



Do you know what causes the popup to be displayed? Maybe there is an

option to disable it, or maybe something can be done with the scene file

to prevent the dialog from being displayed…



Cheers,

Just to confirm, do you already have a popup handler called HandlePopup0

with a corresponding HandlePopupResponse0? If not, then using

HandlePopup1 and HandlePopupResponse1 wouldn’t work because the numbers

have to be sequential. If this is the case, switch the 1’s to 0’s in

your popup handler to see if that works.



Cheers,

  • Ryan

Yeah there’s already one that was 0.



// just catch all errors for now

OutputRegEx0='ERROR :.*

OutputRule0=FailRender( GetRegExMatch(0) );



HandlePopup0=.Microsoft Visual C++ Runtime Library.

HandlePopupResponse0=OK



HandlePopup1=.Render history settings.

HandlePopupResponse1=OK







-----Original Message-----

From: Frantic_Deadline Listmanager [mailto:Frantic_Deadline.listmanager@support.franticfilms.com]

Sent: Tuesday, August 14, 2007 11:29 AM

Subject: 3dsmax9 IgnorePopUp Issue





From: “Ryan Russell” ( rrussell@franticfilms.com)



Just to confirm, do you already have a popup handler called HandlePopup0

with a corresponding HandlePopupResponse0? If not, then using

HandlePopup1 and HandlePopupResponse1 wouldn’t work because the numbers

have to be sequential. If this is the case, switch the 1’s to 0’s in

your popup handler to see if that works.



Cheers,