Documentation Site Map Main Page Reference List Motion Capture Visual3D Overview Visual3D Installation License Activation Getting Started Visual3D Documentation Overview Pipeline Commands Reference Expressions Overview CalTester Mode Overview List of Tutorials Visual3D Examples Overview Troubleshooting Sift Sift Overview Installation Getting Started Sift Documentation Overview Knowledge Discovery for Biomechanical Data Tutorial Overview Troubleshooting Inspect3D Inspect3D Overview Inspect3D Installation Overview Inspect3D Getting Started Overview Inspect3D Documentation Overview Knowledge Discovery in Inspect3D Inspect3D Tutorials Overview Troubleshooting DSX Suite DSX Overview DSX Definitions DSX Suite Installation DSX Tutorials DSX Release Notes xManager Overview PlanDSX Overview Surface3D Overview Orient3D Overview CalibrateDSX Overview Locate3D Overview X4D Overview
This is an old revision of the document!
<code>\\ file_rename\\ ! /existing_file_name=all_files\\ ! /new_file_name=\\ ! /use_search_replace=false\\ ! /search_for=\\ ! /replace_with=\\ ! /remove_file_path=false\\ ! /rename_static_calibration_files=true\\ ; \\ </code> | filerenamedialog.png| \\ ==== parameters ==== * **existing_file_name:** all_files can be specified here, or an individual c3d file can be selected\\ * **new_file_name:** if renaming an individual c3d file, the new name can be specified here\\ * **use_search_replace:** specify true or false to use the search/replace function. this must be used in conjunction with the search_for and replace_with parameters.\\ * **search_for:** specifies what text will be removed. this must be used in conjunction with the replace_with and replace_with parameters.\\ * **replace_with:** specifies what text will be put in place of "search_for" text. this must be used in conjunction with the search_for and use_search_replace parameters.\\ * **remove_file_path:** specify true or false to remove file path. **note:** since users use similar naming conventions for c3d files, visual3d stores the file path from where the c3d file was original loaded to differentiate between different files. only remove the file path if you have a very good reason, and if you do, be careful when comparing between subjects, sessions, conditions, etc.\\ * **rename_static_calibration_files:**specify true or false to also perform search/replace on the static trial.\\ ==== example1: search/replace ==== the search/replace function in this command can be used to rename the c3d files in the workspace. in the following example, the c3d files have the name "sub01_walk001.c3d" but they are renamed to "sub01_new_name001.c3d". <code> file_rename ! /existing_file_name=all_files ! /new_file_name= /use_search_replace=true /search_for=walk /replace_with=new_name ! /remove_file_path=false ! /rename_static_calibration_files=true ; </code> \\ [[visual3d:documentation:pipeline:general_information:pipeline_commands_reference|back to pipeline commands reference]]