visual3d:documentation:pipeline:file_commands:file_save_as
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:file_commands:file_save_as [2025/06/02 19:12] – wikisysop | visual3d:documentation:pipeline:file_commands:file_save_as [2025/06/09 21:15] (current) – wikisysop | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Overview ===== | ===== Overview ===== | ||
The **File_Save_As** command is used to save the currently active workspace to a **new file**, rather than overwriting the original. | The **File_Save_As** command is used to save the currently active workspace to a **new file**, rather than overwriting the original. | ||
- | * Works similar to a "Save As" button- the user can specify a new file name and destination folder. | + | * Works similar to a "Save As" button: the user can specify a new file name and destination folder. |
* This command is commonly used when you want to preserve the original CMZ file, and instead save a modified version with updates (e.g., added events, new model data, etc.) | * This command is commonly used when you want to preserve the original CMZ file, and instead save a modified version with updates (e.g., added events, new model data, etc.) | ||
**Important Note:** | **Important Note:** | ||
- | There is an important distinction between this command and **File_Save**. | + | There is an important distinction between this command and **[[visual3d: |
* File_Save saves directly to the currently open CMZ file. | * File_Save saves directly to the currently open CMZ file. | ||
- | * File_Save_As creates a new file- nothing is overwritten unless you specify the same name. | + | * File_Save_As creates a new file: nothing is overwritten unless you specify the same name. |
===== Pipeline Command ===== | ===== Pipeline Command ===== | ||
Line 37: | Line 37: | ||
|**! / | |**! / | ||
+ | ===== Dialog ===== | ||
+ | The command can be edited in a text editor or in dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below: | ||
+ | {{: | ||
- | Save the current Workspace | + | * **Select Filename**: Choose or type the name of the new CMZ file you want to save. |
+ | * **Select Folder**: Choose the folder where the new file should be saved. If the filename entered above includes a full path, this folder selection is ignored. | ||
+ | * **Checkbox - if file path doesn' | ||
+ | * **Prompt**: This text appears as the title of the Save dialog if you're prompting | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | The following examples will go through | ||
+ | |||
+ | ==== Example 1: Save with added model data ==== | ||
+ | This pipeline loads a file, computes model-based data - in this case the Left Knee Angle, and saves the updated version as a new CMZ. | ||
< | < | ||
- | File_Save_As | + | File_Open |
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | |||
+ | File_Save_As | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
; | ; | ||
</ | </ | ||
- | \\ | + | |
+ | ==== Example 2: Save a custom trial version with embedded graphics and folder creation ==== | ||
+ | |||
+ | This pipeline loads a trial, detects peak vertical force, extracts the Force Value at this event, and saves a new version including 3D graphics output. | ||
+ | |||
+ | < | ||
+ | File_Open | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | |||
+ | Event_Global_Maximum | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Metric_Signal_Value_At_Event | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | File_Save_As | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | !/ | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ---- | ||
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/file_save_as.1748891548.txt.gz · Last modified: 2025/06/02 19:12 by wikisysop