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 12:49] – sgranger | visual3d:documentation:pipeline:event_commands:event_rename [2025/02/28 17:34] (current) – [Examples] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{{{to | + | ====== Event Rename ====== |
+ | ==== Overview ==== | ||
+ | The **Event_Rename** command is used to rename | ||
- | ===== interactive selection from the data tree: ===== | + | 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 selection from the data tree can be shown here. |
- | renameeventdlg.jpg] | + | {{: |
- | renameeventsmall.jpg | + | |
- | ===== from the edit events dialog ===== | + | |
- | editeventsdlg.jpg | + | ==== Pipeline Command |
- | ===== pipeline command: ===== | + | 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 ===== | + | ==== Examples |
+ | The following examples will go through the use of the Event_Rename command in the Visual3D application. | ||
- | range_instance=0 -> use all instances | + | === Example 1: Basic Gait Event Rename === |
+ | In this first example, the simple gait event of Right Heelstrike (RHS), found with the **Automatic_Gait_Events** command will be renamed to "Right Foot Contact" | ||
- | range_instance=n -> use the nth instance of the range | + | The first step is to identify |
- | if n<1 count instances from the last range; e.g. -1 = last range | + | <code> |
+ | Automatic_Gait_Events | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | ===== example ===== | + | Next, we can apply the Event_Rename command in order to rename the RHS event: |
+ | |||
+ | < | ||
+ | Event_Rename | ||
+ | /EVENT_NAME=RHS | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | 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 | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
- | in this example, the last event instance in the first range of the event sequence start+start is renamed. | ||
- | eventrenameexampledlg.jpg | ||
- | **event_rename** | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | ! / | ||
- | **;** | ||
- | }}}}}}}}}} |
visual3d/documentation/pipeline/event_commands/event_rename.1718801382.txt.gz · Last modified: 2024/06/19 12:49 by sgranger