Scripting Examples
To access the Leia Plugin through the script editor use the following entry points.
1
from leia import *
2
3
# Create a LeiaCamera
4
LeiaCamera.create()
5
6
# Show the batch render prompt
7
LeiaRender.show()
8
9
# Show the batch render prompt
10
LeiaPreview.show()
11
12
# Render 10 pngs into the project's images directory, then display them with finder/explorer.
13
LeiaCamera.render(startFrame=1, endFrame=1, outputVideo=False, openResultDir=True, pushToAndroid=False)
Copied!
Last modified 2yr ago
Copy link