visual3d:documentation:pipeline:file_commands:file_new
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
visual3d:documentation:pipeline:file_commands:file_new [2024/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:file_commands:file_new [2025/07/29 17:10] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== File New ====== | ====== File New ====== | ||
- | || | + | ===== Overview ===== |
- | Remove | + | The **File_New** command is used to clear the active workspace in Visual3D |
+ | |||
+ | This command does not prompt the user to save- any unsaved changes in the active workspace will be lost when the command is executed. Therefore, it is good practice to use File_Save or File_Save_As beforehand if you want to preserve any changes made to the workspace. | ||
+ | |||
+ | This command is equivalent to navigating to File > New, pressing Ctrl+N, or clicking the New Page icon in the Visual3D toolbar. | ||
+ | |||
+ | ===== Pipeline Command ===== | ||
+ | |||
+ | The command below is as seen in the Visual3D application. It has no parameters, as it performs a standalone function: | ||
< | < | ||
File_New | File_New | ||
+ | |||
; | ; | ||
</ | </ | ||
- | **NOTE:** The options | + | ===== Command Parameters ===== |
+ | There are no parameters associated with the File_New command. | ||
+ | |||
+ | ===== Dialog ===== | ||
+ | |||
+ | There is no dialog box associated with this command. In the Visual3D user interface, the equivalent action is triggered by: | ||
+ | | ||
+ | | ||
+ | * Clicking the New Page button on the Visual3D toolbar. | ||
+ | |||
+ | ===== Examples ===== | ||
+ | |||
+ | The following example demonstrates a complete workflow | ||
+ | |||
+ | === Example 1: Pre-processing and Saving Joint Angles === | ||
+ | |||
+ | This example walks through a workflow involving joint angle computation and workspace clearing. | ||
+ | |||
+ | Step 1: Clear any previously loaded workspace and open a subject workspace | ||
+ | |||
+ | < | ||
+ | File_New | ||
+ | |||
+ | ; | ||
+ | |||
+ | File_Open | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /SUFFIX= | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Step 2: Compute joint angles (Left Hip and Left Knee) | ||
+ | |||
+ | < | ||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! /AXIS1=X | ||
+ | ! /AXIS2=Y | ||
+ | ! /AXIS3=Z | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Step 3: Save the workspace with a new name | ||
+ | |||
+ | < | ||
+ | File_Save_As | ||
+ | / | ||
+ | ! /FOLDER= | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Step 4: Close the file and prepare for the next file. | ||
+ | |||
+ | < | ||
+ | File_Close | ||
+ | / | ||
+ | ! /QUERY= | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | File_New | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ===== Notes ===== | ||
+ | * File_New is a non-reversible operation in pipelines. Use with caution when automating. | ||
- | \\ | + | ---- |
[[Visual3D: | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/file_new.txt · Last modified: 2025/07/29 17:10 by wikisysop