visual3d:documentation:pipeline:file_commands:file_new
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_new [2024/06/17 18:19] – created sgranger | visual3d:documentation:pipeline:file_commands:file_new [2025/07/29 17:10] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== File New ====== | ||
+ | ===== Overview ===== | ||
- | || | + | The **File_New** command is used to clear the active workspace in Visual3D and initialize a new, blank workspace. This is commonly used in batch processing pipelines, where workflows involve repeatedly loading, analyzing, and saving data across multiple CMZ files. |
- | Remove | + | This command does not prompt |
+ | |||
+ | 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 in the cmo file just closed will persist. | + | ===== Command Parameters ===== |
+ | There are no parameters associated with the File_New command. | ||
- | \\ | + | ===== Dialog ===== |
- | [[Visual3D: | + | |
+ | There is no dialog box associated with this command. In the Visual3D user interface, the equivalent action is triggered by: | ||
+ | * Navigating to File > New | ||
+ | * Pressing Ctrl + N | ||
+ | * Clicking the New Page button on the Visual3D toolbar. | ||
+ | ===== Examples ===== | ||
+ | |||
+ | The following example demonstrates a complete workflow in which **File_New** is used multiple times to manage and reset the workspace between tasks. | ||
+ | |||
+ | === 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 | ||
+ | |||
+ | < | ||
+ | File_New | ||
+ | |||
+ | ; | ||
+ | |||
+ | File_Open | ||
+ | / | ||
+ | ! /FILE_PATH= | ||
+ | ! / | ||
+ | ! /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/documentation/pipeline/file_commands/file_new.1718648355.txt.gz · Last modified: 2024/06/17 18:19 by sgranger