flexsim_prepare_gui_model
Creates a new FlexSim .fsm by copying the GUI template and opens it, so you can safely build and run a model without altering the original.
Instructions
Copy the GUI template to a new .fsm and open that copy in the FlexSim window.
Work on the copy, never on the template. The model's On Model Open trigger runs mcp_start(),
so the window connects by itself in about 20 s; check flexsim_gui_status. If it does not
(for example the MCP server was restarted), run `mcp_start();` in its Script console.
Args:
model_path: Path of the new .fsm file (must not exist yet)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |