Use the subsetting relationship to specialize a usage element. Inherited features can be subsetted by multiple features. The specialized definition inherits the features of the more general definition element and can add other features.

Subsetting

Subsetting a usage via the Textual Editor

To subset a usage via the Textual Editor


  1. In the Textual Editor, identify the usage element that you want to be the subsetting one.
  2. Follow the element name with either one of the following:
    1. keyword subsets
    2. textual symbol :>
  3. Follow the keyword with the name of the subsetted usage element. 

  4. Click the Synchronize button.

    part engine {
       part valves;
    }
    part dieselEngine :> engine;
    /* or */
    part dieselEngine subsets engine;

Subsetting a usage via the Drag and Drop handler in a view

To subset a usage via the Drag and Drop handler in a view


To create a new element with the subsetting relationship between the source and target, use the Create Subsetting Usage command.

Subsetting a usage via the view palette

To subset a usage via the view palette


  1. In the view palette, under the Specializations group, select subsetting
  2. Draw the line with the arrowhead going from the subsetting usage to the subsetted one.

Subsetting a usage via the Create Relation command

To subset a usage via the Create Relation command


  1. Right-click the element that you want to be the subsetting one.
  2. In the shortcut menu, click Create Relation, then in the submenu, under Outgoing, click subsetting. The Create... dialog opens.
  3. In the Create New... dialog, do one of the following:
    1. In a view, click the element symbol you want to subset. Hold Shift to select multiple elements. 
    2. Click the Add button. The element selection dialog opens. In the element selection dialog, select the element you want to subset and click OK.
    3. Drag and drop the needed element you want to subset from the Containment tree onto the Create... dialog.
  4. In the Create... dialog, click OK