An occurrence is used to designate something that has an extent in time, which is the occurrence's lifetime. Occurrences can be structural (parts, items) and behavioral (actions). 

Creating occurrence usage and definition elements

Creating occurrence usage and definition elements via the Textual Editor

To create occurrence usage and definition elements via the Textual Editor


  1. In the Textual Editor, place the cursor where you want to create the element and declare one of the following keywords:
    1.  occurrence def for an occurrence definition.

    2.  occurrence for an occurrence usage.
  2. Name the element.
  3. (Optional) Specify the occurrence features in the element body.
  4. Click the Synchronize button.

    occurrence def CruiseControlInteraction;  // occurrence definition
    occurrence cruiseController;              // occurrence usage

Creating occurrence usage and definition elements via the Create Element command

To create occurrence usage and definition elements via the Create Element command


  1. In the Containment tree, right-click an element, and in the shortcut menu, click Create Element.

  2. In the Create Element dialog, select one of the following:
    1. occurrence def to create an occurrence definition element.
    2. occurrence to create an occurrence usage element.
  3. Name the element.
  4. (Optional) Specify the occurrence features via the Textual Editor.