The I_Autosar AUTOSAR Model Explorer shows the complete AUTOSAR model of a project. The AUTOSAR model of a project consists of the content of the ARXML project files and the AUTOSAR models of all referenced projects (refer to Project Properties). With the AUTOSAR Model Explorer, you can browse and modify the AUTOSAR model.

Open AUTOSAR Model Explorer

<CTRL> + <SHIFT> + <D>, <F>

Open Editor

To open the I_Autosar AUTOSAR Model Explorer, expand your DaVinci Adaptive project in the DaVinci Project Explorer and double click on I_DaVinciDeveloperAdaptive Open Project Dashboard. The Project Frame opens showing the Project Home. You can then open the AUTOSAR Model Explorer as follows:

The AUTOSAR Model Explorer opens in a new tab of the Project Frame.

The Toolbar

Besides the general editor functionalities (see Editor Concept), the toolbar on the top right of the AUTOSAR Model Explorer provides the following features:

The toolbar on the left side of the AUTOSAR Model Explorer provides the following features:

notice

If you are using Windows with activated Show Reference Targets feature, the key options <Numpad *> and <Numpad /> are not supported and might cause a crash. Therefore, please click the mentioned icons and subcommands instead:

This does not apply if you are using Linux.

Filter Elements

Elements of the AUTOSAR model can be filtered as follows:

S_ARModelExplorer_Quickfilter.png

Referenced Elements

The elements in an AUTOSAR model are organized in a tree view. References are used to refer from one element to a different location in the model tree. These references are displayed as hyperlinks and can be opened by clicking on them.

Use I_ShowRefTargets [Show Reference Targets] in the toolbar to inline the target of a reference as a child in the tree view. This is useful for visualizing lengthy traversals through the model tree while maintaining the original context.

Use I_ShowIncomingReference [Show Incoming References] in the toolbar to inline incoming references.

Use I_ReferenceNotVisible [Hide Referenced Elements] in the toolbar to filter out elements that are referenced. To better understand how [Hide Referenced Elements] works, it may be worth noting the following:

Modifying the AUTOSAR Model

The elements of the AUTOSAR model can be modified as follows:

Scripting Support

Several commands in the context menu of an element are useful for creating automation scripts. These commands generally copy snippets to the clipboard which can then be pasted into an automation script. There are e.g. commands for reading from or writing to the element selected in the tree of the AUTOSAR Model Explorer or for navigating from one element to another element (this last command is especially useful in combination with the I_ShowRefTargets[Show Reference Targets] button described in section Referenced Elements above).

The following Scripting commands are available in the AUTOSAR Model Explorer:

notice

Using the context menu command Scripting|Copy Script Snippet (write access) of the selected element generates the following script.
transaction{
def defValue = mdfModel('AsrObjectLink')[0]
//defValue.setValue(&apos;<value>&apos;);
}

Copy Commands

The following Copy commands are available in the AUTOSAR Model Explorer: