visual3d:documentation:pipeline:event_commands:event_rename
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:event_commands:event_rename [2024/06/19 13:59] – created sgranger | visual3d:documentation:pipeline:event_commands:event_rename [2025/04/29 14:25] (current) – [Dialog] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | To **Rename** an event label, you can use a pipeline | + | ====== Event Rename ====== |
+ | ===== Overview ===== | ||
+ | The **Event_Rename** command is used to rename | ||
- | ===== Interactive | + | The functionality of this command can also be achieved by right-clicking on an event in the data tree, **Rename Event** is an option on the context menu. The interactive |
- | {{RenameEventDlg.jpg}}] | + | {{: |
- | {{RenameEventSmall.jpg}} | + | |
- | ===== From the Edit Events Dialog ===== | + | |
- | {{EditEventsDlg.jpg}} | + | ===== Pipeline |
- | ===== Pipeline | + | The command below is as seen in the Visual3D application. |
- | **Event_Rename** | + | < |
- | /Event_Name= The name of the original event | + | Event_Rename |
- | /New_Event_Name= The name to be given to the **new event** | + | /EVENT_NAME= |
- | /[[Visual3D: | + | /NEW_EVENT_NAME= |
- | /[[Visual3D: | + | ! /EVENT_INSTANCE=0 |
- | /[[Visual3D: | + | ! /RANGE_INSTANCE=0 |
- | /[[Visual3D: | + | ! /EVENT_SEQUENCE= |
- | **;** | + | ! /EXCLUDE_EVENTS= |
- | ===== Event_Rename Dialog ===== | + | ; |
+ | </ | ||
- | {{CopyEventLabelDlgEx1.jpg}} | + | ===== Command Parameters |
- | ===== Event Instance | + | The following table shows the command parameters and descriptions: |
- | Event_Instance=0 -> copy all instances of the Event | + | |**Parameters** |
+ | |**/ | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
- | Event_Instance=n -> copy the nth instance of the Event | + | ==== Dialog ==== |
+ | The command can be edited in a text editor or in a dialog form. To edit in the dialog pop up form either click on the **Edit** button in the pipeline workshop or double-click on the pipeline command. The dialog is shown below. | ||
- | if n<1 count instances from the last Event; e.g. -1 = last instance | + | {{: |
- | ===== Range Instance | + | * **Event to Rename**: Name of the existing event to be changed. |
+ | * **New Event Label Name**: New name to assign to the selected event. | ||
+ | * **Find Event Within | ||
+ | * **Range Instance**: Determine number of ranges to evaluate. | ||
+ | * **Event Instance**: Which occurrence of the event to be renamed. If ' | ||
- | Range_Instance=0 -> use all instances | + | ===== Examples ===== |
+ | The following examples will go through the use of the Event_Rename command in the Visual3D application. | ||
- | Range_Instance=n -> use the nth instance | + | ==== Example 1: Basic Gait Event Rename ==== |
+ | In this first example, | ||
- | if n<1 count instances from the last Range; e.g. -1 = last range | + | The first step is to identify |
- | ===== Example ===== | + | < |
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! /USE_TPR=TRUE | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | In this example, the last event instance | + | Next, we can apply the Event_Rename command |
- | {{EventRenameExampleDlg.jpg}} | + | < |
- | **Event_Rename** | + | Event_Rename |
- | / | + | / |
- | / | + | / |
- | / | + | ! / |
- | / | + | ! / |
- | / | + | ! / |
! / | ! / | ||
- | **;** | + | ; |
+ | </ | ||
+ | |||
+ | Now that this pipeline has been applied, the Event Label folder will reflect this change: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Example 2: Renaming an Event Within a Sequence ==== | ||
+ | In this example, the **Event_Rename** command is used to rename an event within the event sequence "Gait Cycle" | ||
+ | |||
+ | < | ||
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Event_Define_Event_Sequence | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Event_Rename | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
visual3d/documentation/pipeline/event_commands/event_rename.1718805547.txt.gz · Last modified: 2024/06/19 13:59 by sgranger