visual3d:documentation:pipeline:signal_commands:rename_signals
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:signal_commands:rename_signals [2024/06/19 12:53] – sgranger | visual3d:documentation:pipeline:signal_commands:rename_signals [2025/05/09 20:38] (current) – Added headers. More work needed to bring the page up to pipeline command standard. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | rename a signal in the workspace. | + | ====== Rename Signals ====== |
- | **rename_signals** | + | As the name suggests, the Rename_Signal command allows users to rename |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | ! / | + | |
- | / | + | |
- | **;** | + | |
- | ===== example: | + | |
- | **rename_signals** | + | < |
- | /file_name=*.c3d | + | Rename_Signals |
- | /signal_types=derived | + | /FILE_NAME= |
- | /signal_names=derived1 | + | /Signal_Types= |
- | /signal_folder=processed | + | /Signal_Names= |
- | /new_signal_name=derived2 | + | /Signal_Folder= |
- | ! /append_to_old_signal_name=false | + | /NEW_SIGNAL_NAME= |
- | /include_calfile=true | + | ! /APPEND_TO_OLD_SIGNAL_NAME=FALSE |
- | **;** | + | /INCLUDE_CALFILE=FALSE |
- | ===== example: rename a signal in the global workspace ===== | + | ; |
+ | </ | ||
- | method1 - make the global workspace active | + | ===== Examples ===== |
- | **rename_signals** | + | ==== Example 1: Renaming multiple signals ==== |
- | /file_name= | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | **;** | + | |
- | method2 - add a prefix to the signal name indicating that it is global | + | |
- | **rename_signals** | + | Multiple signals can be renamed with a single command by concatening " |
- | /file_name= | + | |
- | /signal_types=p2d | + | < |
- | /signal_names=global::oldname | + | Rename_Signals |
- | /signal_folder=original | + | /FILE_NAME=*.c3d |
- | /new_signal_name=newname | + | / |
- | /append_to_old_signal_name=false | + | / |
- | /include_calfile=false | + | / |
- | **;** | + | / |
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Example 2: Rename a DERIVED signal in all files including CalFiles ==== | ||
+ | |||
+ | Signals can be renamed across all files in the workspace by using the * wildcard in the FILE_NAME parameter. | ||
+ | |||
+ | < | ||
+ | Rename_Signals | ||
+ | /FILE_NAME=*.c3d | ||
+ | /SIGNAL_TYPES=DERIVED | ||
+ | /SIGNAL_NAMES=Derived1 | ||
+ | /SIGNAL_FOLDER=PROCESSED | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Example 3: Rename a signal in the GLOBAL workspace ==== | ||
+ | |||
+ | There are two methods for renaming a signal in the [[visual3d:documentation: | ||
+ | |||
+ | === METHOD 1 - Make the Global Workspace Active === | ||
+ | |||
+ | < | ||
+ | Rename_Signals | ||
+ | /FILE_NAME= | ||
+ | /SIGNAL_TYPES=P2D | ||
+ | /SIGNAL_NAMES=OLDNAME | ||
+ | /SIGNAL_FOLDER=ORIGINAL | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === METHOD 2 - Add a prefix to the signal name indicating that it is GLOBAL === | ||
+ | |||
+ | < | ||
+ | Rename_Signals | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
visual3d/documentation/pipeline/signal_commands/rename_signals.1718801600.txt.gz · Last modified: 2024/06/19 12:53 by sgranger