flexsim_close_model
Close the active FlexSim window model, optionally saving it first, to end the current GUI session.
Instructions
Close the window model, optionally saving first (window backend only).
Metodo: NO hay comando de cierre verificado en el repo (grep applicationcommand
solo muestra save/run/stop/reset/openmodel/addglobaltable; no existe "close" ni
fileclose verificable, asi que no se inventa ninguno). Con save=True se ejecuta
applicationcommand("save") primero; el cierre mata SOLO la ventana del modelo
actual filtrando por titulo _gui_model_name via powershell Stop-Process con
filtro MainWindowTitle (mismo patron que tests/integration/test_gui_backend.py),
y limpia _gui_model_path. Devuelve OK.
Args:
save: run applicationcommand("save") before closing (default False).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |