visu_project
Run VISUDesigner operations to update stations, publish projects, manage text lists, schemes, media, code modules, set datapoint properties, or download to HMI.
Instructions
Run VISUDesigner engine operations: update stations, publish, manage text lists/schemes/media/code modules, set datapoint properties, or download to HMI. These need the VISUDesigner engine — for direct dashboard JSON editing, edit the files in the project directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | Download mode: 0=normal (default), 1=changes only, 2=publish+download changes (download only). | |
| action | Yes | 'apply_changes' loads the project, runs operations, saves, and closes. 'download' pushes the project to an HMI without saving content changes. | |
| lvp_path | No | Full path to the .lvp project file. Omit to auto-detect from the selected project. | |
| connection | No | HMI connection string, e.g. 'TCPIP:192.168.1.100' (download only). | |
| operations | No | Ordered list of VISUDesigner operations (apply_changes only). Each has a 'type' field. Available types: update_all_stations | update_station | publish | add_text_lists | remove_text_lists | add_texts | remove_texts | change_texts | change_component_texts | set_text_list_revisions | set_component_text_list_revisions | csv_export_text_lists | csv_import_text_lists | csv_export_component_text_lists | csv_import_component_text_lists | set_datapoint_properties | set_datatype_properties | add_schemes | remove_schemes | add_scheme_entries | remove_scheme_entries | move_scheme_entries | set_scheme_inputs | set_scheme_properties | set_scheme_entry_properties | add_media_items | remove_media_items | add_code_modules | remove_code_modules | update_property_values | download | |
| add_runtime | No | Force runtime download even if version already matches (download only). |