You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The usability of Webmodelica could be greatly improved if we could provide users with a Drop-down menu of "simulateable" models in a project. This could be implemented in the UI by changing the entry field for the model name in the simulation tab to a combo box.
In the backend this would actually also be quite simple: Just load all model files in the project (or if that would lead to problems provide a project-wide setting to choose packages to load) and look for models which have an experiment() annotation. Only select the models that have such an annotation and gather their fully qualified names as list of options for the combo box.
The text was updated successfully, but these errors were encountered:
CSchoel
changed the title
Feature requrest: Drop-down menu for choosing model to simulate
Feature request: Drop-down menu for choosing model to simulate
Aug 17, 2020
This is not at all quite simple because we don't know the project's models. But we could provide auto completion in the text field, by reusing the complete API.
The usability of Webmodelica could be greatly improved if we could provide users with a Drop-down menu of "simulateable" models in a project. This could be implemented in the UI by changing the entry field for the model name in the simulation tab to a combo box.
In the backend this would actually also be quite simple: Just load all model files in the project (or if that would lead to problems provide a project-wide setting to choose packages to load) and look for models which have an
experiment()
annotation. Only select the models that have such an annotation and gather their fully qualified names as list of options for the combo box.The text was updated successfully, but these errors were encountered: