visual3d:documentation:pipeline:file_commands:file_open
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_open [2024/07/17 15:45] – created sgranger | visual3d:documentation:pipeline:file_commands:file_open [2026/07/15 15:03] (current) – [File Search Filter Types] wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== File Open ====== | ====== File Open ====== | ||
| - | The command | + | ===== Overview ===== |
| + | The **File_Open** | ||
| + | * Usually, this command is the first step in a pipeline | ||
| + | * For supported files and filter types, see the notes section. | ||
| - | **File_Open** | + | ===== Pipeline Command ===== |
| - | /File_Name= File_Name is the file name or file mask including the path. | + | The command below is as seen in the Visual3D application. |
| - | /File_Path= The path string that will be pre-pended to the File_Name | + | |
| - | / | + | |
| - | !/Suffix= Text here will be added to the end of the C3D file which is loaded. | + | |
| - | !/ | + | |
| - | !/ | + | |
| - | !/ | + | |
| - | **;** | + | |
| - | **Note:** If **/ | + | |
| - | ==== File_Types ==== | + | < |
| + | File_Open | ||
| + | ! /FILE_NAME= | ||
| + | ! /FILE_PATH= | ||
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! /SET_PROMPT=File_Open | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </ | ||
| - | The following file types are supported and can be added within Visual3D: | + | ===== Command Parameters ===== |
| - | * .c3d - C3D File or [[[http:// | + | The following table shows the command parameters: |
| - | * .cmo - Visual3D Workspace File | + | |
| - | * .txt - Visual3D TAB delimited text File | + | |
| - | * .gcd - Vicon GCD File | + | |
| - | * .ndi - NDI Aurora File | + | |
| - | * .p2d - P2D File | + | |
| - | ==== Filter ==== | + | |**Parameter** |
| + | |**/ | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/SUFFIX=** |Optional suffix to append to the base file name.| | ||
| + | |**/ | ||
| + | |**/ | ||
| + | |**/ | ||
| - | You can filter using the following filter types: | + | ===== Dialog Box ===== |
| + | The command | ||
| - | * C3D | + | The dialog is shown below: |
| - | * CMO | + | |
| - | * VND | + | |
| - | * P2D | + | |
| - | * ASCII | + | |
| - | * XML | + | |
| - | * NDI | + | |
| - | * GCD | + | |
| - | * MVNX | + | |
| - | Multiple | + | {{: |
| + | |||
| + | * **Select Filename**: Manually browse for and select the specific | ||
| + | * **Select Filepath (Optional)**: | ||
| + | * **Suffix**: If a file with this suffix exists in the folder, it will be automatically added to the file name. | ||
| + | * **Search Subfolders**: | ||
| + | * **Prompt**: Sets the title shown in the file selection dialog when prompting the user to choose | ||
| + | * **Action on File Not Found**: What Visual3D should do if the file is not found. Options include PROMPT or SKIP | ||
| + | * **File Mask on Prompt**: A filter for which file types appear in the dialog. | ||
| - | ==== Examples ==== | + | ===== Examples |
| - | This page lists several | + | The following |
| - | === Prompt the user for the filename === | + | === Example 1: Prompt the user for the filename === |
| This example will prompt the user for the files by opening a dialog box for selection. | This example will prompt the user for the files by opening a dialog box for selection. | ||
| Line 51: | Line 59: | ||
| < | < | ||
| File_Open | File_Open | ||
| - | /File_Name= | + | /FILE_NAME= |
| + | ! / | ||
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| ; | ; | ||
| </ | </ | ||
| - | === Specify the filename === | + | === Example 2: Specify the filename === |
| This example specifies the filename explicitly. Note that the filename should contain the complete path to the file. | This example specifies the filename explicitly. Note that the filename should contain the complete path to the file. | ||
| < | < | ||
| - | File_Open= | + | File_Open |
| - | /File_Name= c: | + | /FILE_NAME= c: |
| + | ! / | ||
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| ; | ; | ||
| </ | </ | ||
| - | === Specify the filename using wildcards === | + | === Example 3: Specify the filename using wildcards === |
| This example specifies the filename by using a wildcard. All C3D files in the c: | This example specifies the filename by using a wildcard. All C3D files in the c: | ||
| < | < | ||
| - | File_Open= | + | File_Open |
| - | /File_Name= c: | + | /FILE_NAME= c: |
| - | ; | + | ! / |
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| </ | </ | ||
| - | === Specify the filename using a pipeline parameter and wildcards === | + | === Example 4: Specify the filename using a pipeline parameter and wildcards === |
| This example uses [[Visual3D: | This example uses [[Visual3D: | ||
| Line 86: | Line 111: | ||
| ! Now open the file. | ! Now open the file. | ||
| - | File_Open= | + | File_Open |
| - | /File_Name= :: | + | /FILE_NAME= :: |
| - | ; | + | ! / |
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| </ | </ | ||
| - | === Specify the filename using the default data folder and wildcards === | + | === Example 5: Specify the filename using the default data folder and wildcards === |
| This example uses [[Visual3D: | This example uses [[Visual3D: | ||
| Line 103: | Line 133: | ||
| ! Now open the file. | ! Now open the file. | ||
| File_Open= | File_Open= | ||
| - | /File_Name= :: | + | File_Open |
| - | ; | + | /FILE_NAME= :: |
| + | ! / | ||
| + | ! / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| </ | </ | ||
| - | \\ | + | ===== Notes ===== |
| - | \\ | + | |
| - | [[Visual3D: | + | |
| + | ==== File Types ==== | ||
| + | The following file types are supported and can be added within Visual3D: | ||
| + | |||
| + | * .c3d - C3D File or [[http:// | ||
| + | * .cmz - Visual3D Workspace File | ||
| + | * .h5 - Visual3D [[..: | ||
| + | * .txt - Visual3D TAB delimited text File | ||
| + | * .gcd - Vicon GCD File | ||
| + | * .ndi - NDI Aurora File | ||
| + | * .p2d - P2D File | ||
| + | |||
| + | ==== File Search Filter Types ==== | ||
| + | |||
| + | You can filter using the following filter types: | ||
| + | |||
| + | * C3D | ||
| + | * CMZ | ||
| + | * HDF5 | ||
| + | * VND | ||
| + | * P2D | ||
| + | * ASCII | ||
| + | * XML | ||
| + | * NDI | ||
| + | * GCD | ||
| + | * MVNX | ||
| + | |||
| + | Multiple file types can be specified by using a plus sign (ex. C3D+CMO+P2D) | ||
| + | |||
| + | [[Visual3D: | ||
visual3d/documentation/pipeline/file_commands/file_open.1721231148.txt.gz · Last modified: by sgranger
