Rename Signals

From Software Product Documentation
Jump to navigation Jump to search
Language:  English  • français • italiano • português • español 

Rename a signal in the Workspace.

Rename_Signals
/FILE_NAME=
/Signal_Types=
/Signal_Names=
/Signal_Folder=
/NEW_SIGNAL_NAME=
! /APPEND_TO_OLD_SIGNAL_NAME=FALSE
/INCLUDE_CALFILE=FALSE;
;

Example: Rename a DERIVED signal in all files including CalFiles

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
;

Example: Rename a signal in the GLOBAL workspace

METHOD1 - Make the Global Workspace Active

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
;

METHOD2 - Add a prefix to the signal name indicating that it is GLOBAL

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
;
Retrieved from ""