
- Posts: 13
- Joined: Wed Nov 11, 2015 10:56 am
Hi,
I’m new to Fusion and I’m trying to work myself into scripting. I’m responsible to setup a render farm that is capable of doing batch processing of multiple composition files. The rendering will be done by Render nodes. I’m currently working with Fusion Render Node 7.7 build 0.
We also want to use one composition to generate multiple individual videos. For this I want to use eyeonscript to modify tools before the composition gets rendered.
I started with using an eyeonscript that has the same name as the composition file. In the script the Tools get changed. E.g: test.comp with test.eyeonscript, in the script I have:
This works perfectly when the composition is loaded in Fusion. But it does not work when I use the Fusion Render Node console (FusionConsoleNode.exe). Although I see "hello from .." being printed, the Intro.Styledtext does not get changed. Isn’t this supposed to work with a render node?
My second attempt was to work with the eyeonScript.exe tool. I can get it to work but I run into some problems:
I hope somebody can help me.
Thanks,Arthur
I’m new to Fusion and I’m trying to work myself into scripting. I’m responsible to setup a render farm that is capable of doing batch processing of multiple composition files. The rendering will be done by Render nodes. I’m currently working with Fusion Render Node 7.7 build 0.
We also want to use one composition to generate multiple individual videos. For this I want to use eyeonscript to modify tools before the composition gets rendered.
I started with using an eyeonscript that has the same name as the composition file. In the script the Tools get changed. E.g: test.comp with test.eyeonscript, in the script I have:
- Code: Select all
print "Hello from Test.eyeonscript"
Intro.StyledText="Hello World"
This works perfectly when the composition is loaded in Fusion. But it does not work when I use the Fusion Render Node console (FusionConsoleNode.exe). Although I see "hello from .." being printed, the Intro.Styledtext does not get changed. Isn’t this supposed to work with a render node?
My second attempt was to work with the eyeonScript.exe tool. I can get it to work but I run into some problems:
- os.exit() does not stop and exit the script. Is there an other command I can use to exit the script and give a status back to the calling process?
- I want to call a Python script when the render process has finished. I was hoping I could call a python script as "Endscript" with fusion.RenderManager:AddJob() but this does not work. I found on the Internet that I can use comp:Execute or comp:RunScript to execute Python script. This works from the Fusion GUI but unfortunately not with a render node. Is there a way to execute Python script with a render node other as using os.execute("done.py")?
I hope somebody can help me.
Thanks,Arthur