Basic Use Case

Creation of a Library

Libraries are created the same way as standard Capella Projects. From the Project Explorer, create a new Library using the Contextual Menu

The result is a new model, with the Methodological Overview opened.

In this library, create diagrams and model elements. Here for example, a data model.

Close the Library.

Referencing a Library

Select the “Libraries | Manage References” item in the contextual menu on the “aird” file of a standard Project Model.

A dialog opens.

The first tab of this dialog displays all the accessible Libraries in the current workspace (A Library in a closed Eclipse Project will not be proposed).

Note that the actual Library files do not have to be physically located in the workspace itself, see the section explaining the Eclipse difference between Workspace and actual Project files.

Ticking the checkbox will create a physical reference between the current Project Model and the Library.

The second tab of the dialog displays which Library is currently active. When a Library is not active, queries in Editors for example will not display the content located in the Library.

The third tab allows specifying whether the content of a referenced Library can be directly modified from the Project itself. The default is “Read only”.

Once the Project Model is opened, the referenced Library can be seen directly from the Project itself.

Using Library Elements from a Project

Elements from the referenced library are accessible from elements in the Project model.

Example with the allocation of Exchange Items to a Functional Exchange

The transfer dialog display both elements coming from the current Project and elements from the Library.

Once the allocation is performed, the result can be seen in the Semantic Browser.

Example with Components and Interfaces

From an interface diagram, use the Insertion tool to select and display an Interface located in the Library.



The selection wizard proposes the Interface located in the Library.

The Interface appears on the diagram.

The Component in the Project Model can now “provide” the Interface located in the Library.