visual3d:documentation:pipeline:file_commands:select_active_file
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:select_active_file [2024/06/19 12:50] – sgranger | visual3d:documentation:pipeline:file_commands:select_active_file [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{many of the pipeline commands in visual3d act on the active files only. using this command the user can determine what files are active and therefore will be processed. | + | ====== Select Active File ====== |
- | tutorial4_5.jpg | + | Many of the pipeline commands in Visual3D act on the active files only. Using this command the user can determine what files are active and therefore will be processed. |
- | ===== pipeline command ===== | + | {{: |
- | the pipeline command below is used to select the [[visual3d:documentation:definitions:active_files|active_files]] | + | ==== Pipeline Command ==== |
+ | |||
+ | The pipeline command below is used to select the [[Visual3D:Documentation:Definitions:Active_Files|Active_Files]] | ||
< | < | ||
- | select_active_file | + | Select_Active_File |
- | ! /file_name= | + | ! /FILE_NAME= |
- | ! /query= | + | ! /QUERY= |
- | ! /subject_tags=no_subject | + | ! /SUBJECT_TAGS=NO_SUBJECT |
; | ; | ||
</ | </ | ||
- | ==== file_name ==== | + | === File_Name |
- | the parameter **/file_name=** can be a single file, a tag referring to all files with that tag, or the keyword | + | The parameter **/File_Name=** can be a single file, a TAG referring to all files with that TAG, or the keyword |
- | **note:** visual3d | + | **Note:** Visual3D |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name= file1.c3d | + | /FILE_NAME= file1.c3d |
; | ; | ||
</ | </ | ||
- | to fix the example above, you define the full pathname: | + | To fix the example above, you define the full pathname: |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name= c: | + | /FILE_NAME= c: |
; | ; | ||
</ | </ | ||
Line 38: | Line 40: | ||
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name= *file1.c3d | + | /FILE_NAME= *file1.c3d |
; | ; | ||
</ | </ | ||
- | or you can specify a tag: | + | or you can specify a TAG: |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name= tag1 | + | /FILE_NAME= TAG1 |
; | ; | ||
</ | </ | ||
- | ==== query ==== | + | === Query === |
- | the query option (**visual3d professional only**) allows you to select a subset of the files referred by to file_name. you can query using [[visual3d:documentation:pipeline:expressions:overview|expressions]]: | + | The Query option (**Visual3D Professional Only**) allows you to select a subset of the files referred by to FILE_NAME. You can query using [[Visual3D:Documentation:Pipeline:Expressions:Expressions_Overview|expressions]]: |
- | /query=metric::processed::mass > 75 | + | /QUERY=METRIC::PROCESSED::MASS > 75 |
- | ==== subject_tags ==== | + | === Subject_Tags |
- | set the active subject tag - for multisubject only! | + | Set the active subject tag - FOR MULTISUBJECT ONLY! |
- | ===== example | + | ==== Example |
- | this example shows how to make the [[visual3d:documentation:definitions:global_workspace|global workspace]] active | + | This example shows how to make the [[Visual3D:Documentation:Definitions:Global_Workspace|Global Workspace]] active |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name=global | + | /FILE_NAME=GLOBAL |
- | ! /query= | + | ! /QUERY= |
; | ; | ||
</ | </ | ||
- | ===== example | + | ==== Example |
- | from all_files | + | From ALL_FILES |
- | using the " | + | Using the " |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name=all_files | + | /FILE_NAME=ALL_FILES |
- | /query=tag1 + tag2 | + | /QUERY=TAG1 + TAG2 |
; | ; | ||
</ | </ | ||
- | using " | + | Using " |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name=all_files | + | /FILE_NAME=ALL_FILES |
- | /query=tag1 | tag2 | + | /QUERY=TAG1 | TAG2 |
; | ; | ||
</ | </ | ||
- | ===== example | + | ==== Example |
- | from all_files | + | From ALL_FILES |
< | < | ||
- | select_active_file | + | Select_Active_File |
- | /file_name=all_files | + | /FILE_NAME=ALL_FILES |
- | /query=tag1 & not(tag2) | + | /QUERY=TAG1 & NOT(TAG2) |
; | ; | ||
</ | </ | ||
- | ===== example | + | ==== Example |
- | from all_files | + | From ALL_FILES |
- | this cannot be done in one step. command | + | This cannot be done in one step. Command |
< | < | ||
- | ! assign | + | ! Assign |
- | assign_tags_to_files | + | Assign_Tags_To_Files |
- | /motion_file_names=*run*.c3d | + | /MOTION_FILE_NAMES=*run*.c3d |
- | ! /query= | + | ! /QUERY= |
- | /tags=run | + | /TAGS=RUN |
; | ; | ||
- | ! assign | + | ! Assign |
- | assign_tags_to_files | + | Assign_Tags_To_Files |
- | /motion_file_names=all_files | + | /MOTION_FILE_NAMES=ALL_FILES |
- | /query=not(run) | + | /QUERY=NOT(RUN) |
- | /tags=not_run | + | /TAGS=NOT_RUN |
; | ; | ||
- | ! select not_run | + | ! Select NOT_RUN |
- | select_active_file | + | Select_Active_File |
- | /file_name=not_run | + | /FILE_NAME=NOT_RUN |
- | ! /query= | + | ! /QUERY= |
; | ; | ||
</ | </ | ||
- | [[visual3d:documentation:pipeline:general_information:pipeline_commands_reference|back to pipeline commands reference]] | + | [[Visual3D:Documentation:Pipeline:General_Information:Pipeline_Commands_Reference|Back to Pipeline Commands Reference]] |
- | }} |
visual3d/documentation/pipeline/file_commands/select_active_file.1718801438.txt.gz · Last modified: 2024/06/19 12:50 by sgranger