Scripting Examples

To access the Leia Plugin through the script editor use the following entry points.

from leia import *

# Create a LeiaCamera 
LeiaCamera.create()

# Show the batch render prompt
LeiaRender.show()

# Show the batch render prompt
LeiaPreview.show()

# Render 10 pngs into the project's images directory, then display them with finder/explorer.
LeiaCamera.render(startFrame=1, endFrame=1, outputVideo=False, openResultDir=True, pushToAndroid=False)

Last updated

Copyright © 2023 Leia Inc. All Rights Reserved