# Script Editor snippets

> Run the Python snippets that ship with the Wandelbots NOVA extension from the Isaac Sim Script Editor. Learn what each snippet changes in your scene or session.

The Wandelbots NOVA extension adds Python snippets to the Script Editor of NVIDIA Isaac Sim.

### Step 1: Load a snippet

1. Open `Window` → `Script Editor`.
2. In the `Script Editor`, open `Snippets` → `Wandelbots NOVA` and select a snippet.\
   → The snippet code appears in the editor.
3. Review the code and click `Run (Ctrl + Enter)`.

## Available snippets

| Snippet | Effect |
| - | - |
| `Apply Robot, Link and Joint APIs` | Applies the Isaac Sim robot API to the selected motion group prim. Applies the link API and joint API to all prims below it whose path contains `link_` or `joint_`. |
| `Console Filter Wandelbots` | Filters the `Console` to messages from the Wandelbots NOVA extension, `omni.kit.app`, and `omni.graph.core`. |
| `Generate Range Select Node` | Adds the compound node `RangeSelectTest` to the Action Graph at `/World/ActionGraph`. It compares a value against the ranges `< 0.5` and `<= 1.0`. |
| `Generate Truth Table Node` | Adds the compound node `TestTruthTable` to the Action Graph at `/World/ActionGraph`. It maps four boolean inputs to two states. |
| `Quiet Viewport Heartbeat Logs` | Hides the repeating `Simulating 1 sensor(s)` messages in the log for the current session. |

> **Info:** `Generate Range Select Node` and `Generate Truth Table Node` need an Action Graph at `/World/ActionGraph`.
> Create it with `Create` → `Visual Scripting` → `Action Graph`.

The two `Generate` snippets are templates.
Edit the ranges, inputs, and states in the code before you run them.
