Skip to main content

Read inputs of Process Lambda

The following example shows how to read inputs from a process lambda program:

from voxelfarm import process_lambda

lambda_host = process_lambda.process_lambda_host()
mesh_entity = lambda_host.input_entity("mesh_entity_id", "Entity", vf.type.voxel_mesh)
string_input = lambda_host.input_string("string_input", "String Input", "")
numerical_input = lambda_host.input("numerical_input", "Numerical Input", 0.0)