Skip to content

Commit

Permalink
MVL-589: New tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Heckmann committed Nov 14, 2023
1 parent 76a026a commit 55794f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mevislab.github.io/content/tutorials/shorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ menu:
This chapter shows some features and functionalities which are helpful but do not provide its own tutorial.

* [Using Snippets](/tutorials/shorts#snippets)
* [Scripting Assistant](/tutorials/shorts#scriptingassistant)

## Using Snippets {#snippets}

Expand All @@ -34,3 +35,15 @@ Enter a name for your snippet like *DICOM Viewer* and click *Add*.
A new snippet will be shown in your Snippets List. You can drag and drop the snippet to your workspace and the modules are re-used, including all defined field values.

![Snippets List](/images/tutorials/Snippets_Panel.png "Snippets List")

## Scripting Assistant {#scriptingassistant}

{{< youtube "y6110PW5N_w" >}}

If you are new to Python or don't have experiences in accessing fields in MeVisLab via Python scripting, the Scripting Assistant might help you.

Open {{< menuitem "View" "Views" "Scripting Assistant">}}. A new panel is shown.

If you now interact with a network, module or macro module, your user interactions are converted into Python calls. You can see the calls in the panel of the Scripting Assistant and copy and paste them for your Python script.

![Scripting Assistant](/images/tutorials/ScriptingAssistant_Panel.png "Scripting Assistant")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 55794f1

Please sign in to comment.