Console ScriptbeginnerConsole Scripts

Build a Math Node Graph

Creates an add_integers node, sets parameters "a" and "b" via set_parameter(), adds a console_print node, and wires the result port to it with scene.connect_nodes().

Scripting Console · scene / app / gitConsole Script · Scene API

Scripting Console APIs Used

Available globals: scene · app · git · registry
scene.add_node_by_name()
node.set_parameter()
scene.connect_nodes()

How to Run

  1. 1Open Vibrante-Node
  2. 2Go to Scripts menu → Open Script File
  3. 3Select this .py file from your filesystem
  4. 4Click Run — or add to Scripts folder for menu shortcut

Tags

#console#add_integers#connect_nodes#set_parameter#beginner

Source

examples/automation/11_simple_math_node.py

Scripting Console script using scene/app/git globals

Related Examples

Browse all →
# Scripting Console
scene.clear()
scene.add_node_by_name()
scene.connect_nodes()
Script

Build a Linear Chain

beginner

Scripting Console script that calls scene.clear(), adds four message nodes with scene.add_node_by_name(), and wires them in sequence with scene.connect_nodes(). The hello-world script.

scene.clear()scene.add_node_by_name()
#console#scene.add_node_by_name#scene.connect_nodes
# Scripting Console
scene.nodes
node.node_definition.node_id
node.set_parameter()
Script

Batch Parameter Update

intermediate

Iterates scene.nodes, checks node_definition.node_id, and calls node.set_parameter() to bulk-update a prefix on all matching nodes. Useful for path remapping across large graphs.

scene.nodesnode.node_definition.node_id
#console#scene.nodes#set_parameter
# Scripting Console
scene.find_node_by_name()
node.set_parameter()
app.execute_pipeline()
Script

Trigger Pipeline Execution

intermediate

Uses scene.find_node_by_name() to locate a target node, calls set_parameter() to inject a value, then calls app.execute_pipeline() to run the full graph programmatically.

scene.find_node_by_name()node.set_parameter()
#console#app.execute_pipeline#find_node_by_name