> For the complete documentation index, see [llms.txt](https://docs.orkestra.online/orkestra-online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.orkestra.online/orkestra-online/plugins/everywhere/run-a-tool.md).

# Run a tool

Run Dynamo graphs, Grasshopper definitions and OkPy tools from the Orkestra pane, fill in their forms, open panel tools, and turn event tools on or off for yourself.

Double-click a tool in the [Orkestra pane](https://docs.orkestra.online/orkestra-online/plugins/everywhere/the-orkestra-pane.md) and Orkestra takes care of the rest: it fetches the current version, sets up the packages it needs, shows a form if the tool has inputs, and tells you how the run went.

<figure><img src="https://705252832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6wDJF-clP9xeoy68-u%2Fuploads%2Fuz2pbaENGlhqxoDw11E4%2Fdiagrams-tool-kinds.png?alt=media" alt="Diagram of the kinds of tools: Dynamo graph, Grasshopper definition, snippets, proxy, and the four kinds of OkPy tools: OkPy tool (runs when you click it), panel tool (stays open in a docked panel and follows your selection), view tool (opens as a tab next to your views) and event tool (runs by itself when something happens in the model)."><figcaption><p>What each kind of tool does when you run it.</p></figcaption></figure>

## Ways to start a tool

* **Double-click** it in the Orkestra pane, on the **Online** or **Local** tab.
* Click its **button on the ribbon** (QuickAccess). See [QuickAccess and HotKeys](https://docs.orkestra.online/orkestra-online/plugins/everywhere/quickaccess-and-hotkeys.md).
* Press its **HotKey** (**Alt** + a key).
* Play a **playlist** that contains it. See [Playlists](https://docs.orkestra.online/orkestra-online/plugins/everywhere/playlists.md).
* Click **Run** on its card in the **Tool Library** (OkPy tools, below).

A proxy always runs its original tool.

## Run a Dynamo graph

In Revit and Civil 3D:

1. Double-click the graph. Orkestra prepares the packages the graph needs ("Setting up your packages..."), then starts Dynamo in the background ("Starting up Dynamo...").
2. If the graph has inputs, the form opens (below). If it has none, it runs at once.
3. Fill in the form and click **Run**.

{% hint style="warning" %}
Close the Dynamo window before you run a graph from Orkestra. Otherwise you see "Please close Dynamo before running tools through Orkestra.".
{% endhint %}

On Revit and Civil 3D 2027 (Dynamo 4), Python nodes written for CPython3 are switched to PythonNet3 automatically when Orkestra runs the graph. Only the copy that runs changes: the graph in Orkestra and on disk stays as it is.

## Fill in a form

Dynamo graphs and Grasshopper definitions with inputs open a form, the **Orkestra Forms®** window. Its author decides which inputs, tabs, groups and texts it shows.

1. Read the tool's description under its title. The info button opens the tool's wiki.
2. Fill in the fields under "Inputs for this tool:". If the form has tabs, check each tab.
   * Fields marked as required must be filled before **Run** is available.
   * Hover a field's description to read all of it.
   * To pick elements in the model, click **Select**: the form shows "Select elements…" while you pick, then the number of elements selected.
3. Click **Run**. The status at the bottom shows "Run successfully", "Run with warnings" or "Run with errors". Hover a warning to read the errors.
4. Read the results in the **Outputs** column. It opens by itself after a run that has outputs, or with **Show Outputs >>**.
   * Right-click a value and choose **Copy to clipboard**.
   * In Revit, click an element ID to highlight the element in the model.
   * A 3D output shows a preview: drag with the left button to orbit, with the right or middle button to pan, use the wheel to zoom, and double-click to zoom to everything.
5. Click **Cancel** to close the form.

| Control                                             | What it does                                                                                                                                 |
| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Disable Element Binding**                         | Runs the graph without Dynamo's element binding. Your admin can set its default, and can hide it.                                            |
| **Live Preview** / **Manual Preview** (Grasshopper) | Live updates the Rhino viewport preview as you change inputs. In manual mode, use **Update Geometry Preview** and **Hide Geometry Preview**. |
| "Provided by your organization"                     | Your organization's logo and colour on forms of online tools.                                                                                |

{% hint style="info" %}
Your admin can make the form remember your last inputs (**Save User Inputs**), close after the run (**Close After Run**), and choose the order of the inputs. Element selections are never remembered. See [Forms and input order](https://docs.orkestra.online/orkestra-online/desktop-app/publish-and-maintain/forms-and-input-order.md).
{% endhint %}

Only one tool window can be open at a time. If another one is open, Orkestra asks: "Another Orkestra tool window is already open. Would you like to close it and open the new tool?"

## Run an OkPy tool

Double-click it. An OkPy tool runs when you click it, in every design app that supports OkPy (Revit, Civil 3D, AutoCAD, Navisworks and Rhino).

If the OkPy editor is open, you see "Please close OkPy before running tool through Orkestra!". Building and editing OkPy tools is covered in the [OkPy documentation](https://docs.orkestra.online/okpy/).

## Open a panel tool

A panel tool is an OkPy tool that stays open in a docked panel next to your model. It follows your selection and the active view, like the **Warnings Dashboard** below.

1. Double-click the panel tool (its icon is a panel), or click its ribbon button or HotKey.
2. The panel opens docked. Move or dock it like any panel of your design app.

<figure><img src="https://705252832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6wDJF-clP9xeoy68-u%2Fuploads%2FOiUmWvnTXrCFUzpEjzRQ%2Fscreenshots-revit-panel-tool-in-revit.png?alt=media" alt="Revit with the Snowdon Towers sheet on the left, the Orkestra pane in the middle and the Warnings Dashboard panel tool docked on the right, showing 49 warnings, 13 auto-fixable, 25 types, a Fix all auto-fixable (13) button, a Selection card and a list of warnings with Select all and Fix buttons."><figcaption><p>A panel tool (Warnings Dashboard) docked next to the Orkestra pane in Revit.</p></figcaption></figure>

* You can keep several panels open at once. In Revit, a free panel slot is listed in Revit's user interface menu as "Docked tool 1" to "Docked tool 10".
* When a newer version is published, the panel shows "This tool has been updated" with **Refresh**.
* A panel's **Sign in** button opens the Orkestra sign-in panel.
* Panels can't run in a playlist or a batch: they are skipped.

## Event tools

An event tool is an OkPy tool that runs by itself when something happens in your design app: for example when a model or a view is opened, when elements of a category are added or changed, or when the model is saved or synchronized. It shows a lightning icon in the pane.

### Turn an event tool on or off for yourself

Your workspace admin decides whether an event tool starts for everyone who has access to it, or only for people who turn it on (see [Event tools](https://docs.orkestra.online/orkestra-online/desktop-app/publish-and-maintain/event-tools.md)).

* **An event tool set to start for everyone** turns on by itself after you sign in. A notification tells you: "It now runs by itself for you: it is set to start for everyone in Architecture." Click **Turn off for me** if you don't want it.
* **Any event tool**: double-click it in the pane. A card says "Runs by itself when: …" and offers **Turn on for me** and **Try it once** (or **Turn off for me** when it is already on).

<figure><img src="https://705252832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6wDJF-clP9xeoy68-u%2Fuploads%2FQ18p7egpSNQbjpdmgqFL%2Fscreenshots-revit-event-tool-toast.png?alt=media" alt="An Event tool notification for Door Numbers Follow Rooms.okpy: &#x22;It now runs by itself for you: it is set to start for everyone in Architecture.&#x22; with the button Turn off for me."><figcaption><p>An event tool that starts for everyone tells you when it turns on.</p></figcaption></figure>

**Try it once** runs the tool one time, as if its event had just happened. Its changes to the model are applied: **Undo** takes them back. Each change an event tool makes is its own undo step, named after the tool.

### See and manage your event tools

In Revit, click **Event tools** on the **Orkestra** tab (the button shows how many are on, or how many need attention), or click the **Event tools: … on** line at the bottom of the pane. In Rhino, use the **Event tools** line of the pane.

<figure><img src="https://705252832-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M6wDJF-clP9xeoy68-u%2Fuploads%2FN67Sab3DmdYtXO7mlFwm%2Fscreenshots-revit-event-tools-manager.png?alt=media" alt="The Event tools window in Revit: &#x22;Tools that run by themselves when something happens in Revit, on this computer.&#x22;, a Turn all off button, Online and Local tabs, a search box, an All workspaces filter and an On only switch, and one tool, Door Numbers Follow Rooms.okpy in Architecture, triggered by Doors changed, with the status On: waiting for its events, Started for everyone with access, Runs in every model, and its switch on."><figcaption><p>The event tools manager lists the event tools you can use, on this computer.</p></figcaption></figure>

* **Online** and **Local** list your published and local event tools. Search by name or location, filter by workspace, or tick **On only**.
* The switch on each tool turns it on or off on this computer. **Turn all off** turns them all off.
* Each tool shows what triggers it and its status, for example "On: waiting for its events".
* The **…** menu of a tool offers **Check for a new version now**, **Show the file** and **Remove from event tools**.

In AutoCAD, Civil 3D and Navisworks, event tools run too; you manage them from inside OkPy. In the OkPy editor, the **On for me** switch and the **Try it as if...** menu do the same for the tool you are editing: see the [OkPy documentation](https://docs.orkestra.online/okpy/).

### Good to know about event tools

* Your choices stay on this computer.
* Event tools run only while you are signed in. Orkestra offers to turn on **Keep me logged in** so your event tools start with your design app.
* A tool that fails three times in a row turns itself off in this version of your design app, until you turn it back on or a new version arrives.
* If you hold **Shift** while your design app starts, event tools don't start in that session. A notification offers **Start them now**.
* Event tools don't run while a batch runs.

## Run a Grasshopper definition

| Where | What happens                                                                                                                                   |
| ----- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| Rhino | The definition opens without the Grasshopper canvas. If it has form inputs, the form opens; otherwise it runs and closes.                      |
| Revit | With Rhino.Inside.Revit installed. See [Rhino.Inside.Revit](https://docs.orkestra.online/orkestra-online/plugins/revit/rhino-inside-revit.md). |

If the file can't be read, you see "The Grasshopper file could not be read. It may be corrupt or saved with an incompatible version."

## Add ready-made tools from the Tool Library

The **Tool Library** is a set of curated OkPy tools for your design app ("Curated automations for Revit. Add them to your ribbon in one click.").

1. Click **Library** on the **Orkestra** tab (in Rhino: **Tool Library** on the toolbar, or the `OkPyToolLibrary` command).
2. Read a tool's card: **What it does**, **Details** and **Requirements**.
3. Click **Run** to try it, or **Add to my tools** to pin it to your ribbon. You see "Added, pinned to your OkPy ribbon".

When a newer version exists, the card shows **Update available**: click **Update** ("Updates in place - keeps its ribbon spot"). If you changed the tool on your computer, Orkestra asks first: **Update anyway** or **Keep mine**.

Where the pinned button goes: in Revit, tab **Orkestra**, panel **OkPy Tools**; in Civil 3D, AutoCAD and Navisworks, tab **OkPy**, panel **-Quick Access-**; in Rhino, the **OkPy** tab of the QuickAccess panel. **Browse the full library online ↗** opens the whole library in your browser.

## After the run

Every run ends with a notification at the bottom right of your design app, titled "Orkestra® - Run Complete":

* "ran successfully!",
* "ran with warnings." or "ran with errors.", with **View Errors**. It opens "Orkestra® - Failing Nodes", the list of errors, with **Copy To Clipboard** and **View Run In Editor**.

If you switched to another app while the tool ran, a card appears when it finishes, with **Show** (back to your design app), **View errors** and **Dismiss**. To stop these cards, choose **Don't notify me about runs** in the card's **⋯** menu, or turn off **Run notifications** in the pane's profile menu.

Runs of online tools are recorded, so admins can follow them in [Analytics](https://docs.orkestra.online/orkestra-online/desktop-app/monitor/analytics-and-notifications.md) and the [Run Inspector](https://docs.orkestra.online/orkestra-online/desktop-app/monitor/run-inspector.md).

## Related pages

* [The Orkestra pane](https://docs.orkestra.online/orkestra-online/plugins/everywhere/the-orkestra-pane.md)
* [Playlists](https://docs.orkestra.online/orkestra-online/plugins/everywhere/playlists.md)
* [Forms and input order](https://docs.orkestra.online/orkestra-online/desktop-app/publish-and-maintain/forms-and-input-order.md)
* [Form Designer in Dynamo](https://docs.orkestra.online/orkestra-online/plugins/dynamo/form-designer.md)
* [Forms in Grasshopper](https://docs.orkestra.online/orkestra-online/plugins/rhino-and-grasshopper/grasshopper/forms-in-grasshopper.md)
* [Event tools in the desktop app](https://docs.orkestra.online/orkestra-online/desktop-app/publish-and-maintain/event-tools.md)
