View Full Version : Killing promts...

11-15-2003, 01:52 AM
I'm writing a render script and part of the script is I'm rendering from multiple cameras. Can I write something into the script that keeps the info box from popping up after each frame that says Do you want to end at frame 60(or whatever number the frames are for the scene)?

11-15-2003, 09:35 PM
there are two possible solutions to this (any of which i wouldnt be able to test if it works):

1.) use AutoConfirm(TRUE).

if that doesnt work:

2.) when the camera switches it should be selected, right? once it is selected you can find out its renderstart and renderend datamembers (p.126 reference). from there you can try to set the previewstart and previewend:

cam = Scene().firstSelect(); // object agent of selected camera
cs = cam.renderstart;
ce = cam.renderend;

i cant test this but i hope it help / works or gives you ideas.