User Tools

Site Tools


visual3d:documentation:pipeline:signal_commands:rename_signals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:signal_commands:rename_signals [2024/07/17 15:42] – removed sgrangervisual3d:documentation:pipeline:signal_commands:rename_signals [2024/12/27 13:46] (current) – [Rename Signals] wikisysop
Line 1: Line 1:
 +====== Rename Signals ======
 +
 +Rename a signal in the Workspace.
 +
 +<code>
 +Rename_Signals
 +/FILE_NAME=
 +/Signal_Types=
 +/Signal_Names=
 +/Signal_Folder=
 +/NEW_SIGNAL_NAME=
 +! /APPEND_TO_OLD_SIGNAL_NAME=FALSE
 +/INCLUDE_CALFILE=FALSE
 +;
 +</code>
 +
 +Renaming multiple signals
 +
 +<code>
 +Rename_Signals
 +/FILE_NAME=*.c3d
 +/SIGNAL_TYPES=TARGET
 +/SIGNAL_FOLDER=ORIGINAL
 +/SIGNAL_NAMES=lft1+lft2
 +/NEW_SIGNAL_NAME=lft1a+lft2a
 +! /APPEND_TO_OLD_SIGNAL_NAME=FALSE
 +! /INCLUDE_CALFILE=FALSE
 +! /CALFILE_ONLY=FALSE
 +;
 +</code>
 +==== Example: Rename a DERIVED signal in all files including CalFiles ====
 +
 +<code>
 +Rename_Signals
 +/FILE_NAME=*.c3d
 +/SIGNAL_TYPES=DERIVED
 +/SIGNAL_NAMES=Derived1
 +/SIGNAL_FOLDER=PROCESSED
 +/NEW_SIGNAL_NAME=Derived2
 +! /APPEND_TO_OLD_SIGNAL_NAME=FALSE
 +/INCLUDE_CALFILE=TRUE
 +;
 +</code>
 +
 +==== Example: Rename a signal in the GLOBAL workspace ====
 +
 +METHOD1 - Make the Global Workspace Active
 +
 +<code>
 +Rename_Signals
 +/FILE_NAME=
 +/SIGNAL_TYPES=P2D
 +/SIGNAL_NAMES=OLDNAME
 +/SIGNAL_FOLDER=ORIGINAL
 +/NEW_SIGNAL_NAME=NEWNAME
 +/APPEND_TO_OLD_SIGNAL_NAME=FALSE
 +/INCLUDE_CALFILE=FALSE
 +;
 +</code>
 +
 +METHOD2 - Add a prefix to the signal name indicating that it is GLOBAL
 +
 +<code>
 +Rename_Signals
 +/FILE_NAME=
 +/SIGNAL_TYPES=P2D
 +/SIGNAL_NAMES=GLOBAL::OLDNAME
 +/SIGNAL_FOLDER=ORIGINAL
 +/NEW_SIGNAL_NAME=NEWNAME
 +/APPEND_TO_OLD_SIGNAL_NAME=FALSE
 +/INCLUDE_CALFILE=FALSE
 +;
 +</code>
 +
  
visual3d/documentation/pipeline/signal_commands/rename_signals.1721230964.txt.gz · Last modified: 2024/07/17 15:42 by sgranger