PDA

View Full Version : Suppress 'Auto Frame Advance' warning



AbstractTech3D
07-17-2012, 04:42 PM
Hello

Is there a way to suppress or automatically advance (confirming 'yes') the warning dialogue that occurs on the first occasion within a session that one runs 'render scene' that reads 'Auto Frame Advance is on. Turn off render display?' ?

Have tried autoconfirm and alertlevel, but so far no joy.

Thanks

lertola2
07-17-2012, 05:00 PM
You can turn off Render Display on the General tab before you render to skip that warning. That is the only way I know of.

xchrisx
07-17-2012, 05:23 PM
I actually got it to work using this:



@warnings

generic
{
AutoConfirm(1);
RenderScene();
AutoConfirm(0);
}

nickdigital
07-17-2012, 05:27 PM
Time to make a new button in my menu. :thumbsup:

Sensei
07-17-2012, 06:27 PM
I actually got it to work using this:


Better would be reading current state of auto confirm, then setting off, then resetting to what was read. But I don't know what might be Lscript code for reading it. LWSDK can do that through LWInterfaceInfo global.

AbstractTech3D
07-18-2012, 02:47 AM
Thanks guys!