Elements Management
Right-clicking on an element within a scenario presents multiple options.
Select all scenario elements of the current Context
By right-clicking anywhere within the context and selecting “Select all”, you can choose every element of the context:
This proves highly beneficial for moving all elements at once.
Select all elements with same type
This feature enables the selection of all elements within the context that are of the same type. Simply right-click on any element and choose “Select all [type]”:
In the illustrated example, every element classified as Car type has been selected:
See Documentation
In 'Edit mode', users can access documents linked to an element by right-clicking on the object and choosing 'See documentation of [selected Element type]'.
This feature guides the user to the operational instructions for the object, detailing its proper usage and various capabilities.
Rotate an element
By right-clicking on an element and selecting "Rotate", you can rotate it 90 degrees in the counterclockwise direction:
Result:
Elements attached will not rotate alongside their owner element.
Duplication
This feature enables you to replicate elements within the scenario. Duplication is not feasible if an element belongs to a group (the "duplicate" option will appear dimmed and unavailable).
Duplicating an element which has elements attached to it will also result in the duplication of those attached elements.
Right-click on the element and select “Duplicate”:
The copied element will be displayed within the context:
Arrange
You possess the capability to organize objects in a designated sequence. This ordering dictates the arrangement of scenario elements, specifying which are positioned at the forefront or the back.
Create/Add Controllers
See Controllers.
Delete scenario element(s)
Utilizing this feature will remove all elements selected within the context:
If the element(s) you want to delete have associated controller application(s), you must delete those first before you can delete the element(s) itself.
Grouping
Create a Group
To activate the “Group” option, a minimum of two elements must be selected.
Hold Ctrl and left-click to select two or more elements, then right-click on any of the selected items to group them together:
Grouping an element that has elements attached to it with one or more other elements will automatically incorporate its attached elements into the group.
List of your groups
Every group within your scenario can be found under the Scenario tab, specifically in the 'Groups of scenario elements' section:
Clicking the 'Edit' button located to the left of a group allows you to alter its name, offsets, and Visibility settings:
Apply a mapping on a Group
To initiate a mapping in the Project tab, start by clicking the "Create mapping" button adjacent to the Mappings node:
Following this, a window will prompt you to "Add action" to this new mapping, allowing for the inclusion of numerous actions as desired:
Available action types include:
- Updating a group of scenario elements.
You must choose at least one parameter to update before saving your changes.
Next, to apply this mapping to a group, navigate to Scenario tab, then click the "Add mapping application" button adjacent to the Websockets node:
Here, select the mapping to apply, name the application, add an event, and choose at least one group of scenario elements to affect.
Available event types encompass:
- Flow reception
- Scenario element event
- Before scenario execution
- Continuous during scenario execution
After configuring, click Save to apply your mapping to a group of scenario elements.
If the Visibility parameter was chosen, remember to set the enumeration to "inherit" for all elements within the group.
Ungroup
The "ungroup" function will eliminate the group itself but not the elements within it. To ungroup, right-click on any element within the group and select "Ungroup":