flexsim_clone_model
Clone or clear a FlexSim model file to a new destination, optionally opening the copy in FlexSim to start from an existing model or template.
Instructions
Clone the current model file or clear back to the GUI template.
clone: save the window (when connected), copy _gui_model_path or _current_model
(source_path only when no known origin) to dest_path.
clear: copy the GUI template to dest_path (like flexsim_prepare_gui_model).
With open_in_gui, the copy is opened in FlexSim like flexsim_prepare_gui_model.
Args:
dest_path: new .fsm file (must not exist, never the template).
source_path: optional existing .fsm used only when no known origin.
mode: clone or clear (default clone).
open_in_gui: open the copy in FlexSim (default True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |