Cancelling a Render

MorelleNoir wrote on 3/8/2020, 3:57 PM


I was wondering if it were possible to cancel a render in the Magix Vegas scripting api?

I have tried a few things: Using the CancelAsynchronousTasks() function will do the job but every consecutive render will get cancelled as well. So if I cancel one render, use my script again and start rendering, that render will also get cancelled.

So I thought that I could use RenderArgs, which has a property called CancelRender. That one does nothing. When a render is in progress it does nothing, when I set it before rendering to true it does nothing, it basically does nothing.

Is there a way to cancel a render or will I have to live with simply not being able to with a script?


P.S.: I simply wanted to replace the render window (which may also be impossible)


walter-i. wrote on 3/8/2020, 4:12 PM

Have you ever tried the SEMW extension?
It adds an additional window to the render dialog where you can pause rendering.

Camcorder: Pana HDC SD909, Sony FDR-AX53
Hardware: CPU i9-9900KS 4GHz, 32 GB Ram, GTX 1660 SUPER, ASUS TUF Z390-PLUS Gaming, SSD 970 EVO Plus 500GB M.2, SSD 860 EVO Series 1TB, Toshiba 3TB SATA, WIN 10 Pro
NLE: Vegas Pro11-15+17, Heroglyph4, RespeedR

j-v wrote on 3/8/2020, 4:17 PM

Which Vegas script are we talking about?

met vriendelijke groet

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W10 home version 2004 build 19041.264, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti.
Laptop  :Asus ROG GL753VD, W10 home version 2004 build 19041.264, CPU i7 7700HQ, 8 GB RAM, GeF. GTX 1050 (2 GB) + Int. HD Graphics 630(2GB).VP 16,17 and VMS PL 16,17 are installed, all latest builds
Both Nvidia GPU's have driver version 451.48 Studio Driver, desktop the Studio DHC driver
TV      :LG 4K 55EG960V


MorelleNoir wrote on 3/8/2020, 5:39 PM

First of all, thank you for the replies :)

I am looking for a way to cancel a render in the code and not via a different extension. I have written my own script for that but sadly that particular function still eludes me.

I am not talking about a script that is already in Vegas :)