Reference 〉 Function

Helipad.launchVisual()

Launches the visualization window and starts the model.

This function is not necessary to run from user code when using the Tkinter frontend, as the ‘New Model’ button will call this function. It can be used following model.launchCpanel() in a Jupyter notebook, however, or to run the model bypassing the control panel.

This function calls model.setup(), instantiates the class registered in model.useVisual(), populates its plots, and initiates model.start(). This function takes no arguments.

As of Helipad 1.2, a visualization class must be registered using model.useVisual() before model.launchVisual() can be called.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History