Main Content

Change Stereotype Order Using Manage Profiles Tool

This example shows how to change the stereotype order for stereotypes applied to a component after importing the RGBColors profile.

Open the model.

model = systemcomposer.openModel("OrderingStereotypes");

Architecture model ordering stereotypes with Door component with a green component header.

The Door component has the Green, Red, and Blue stereotypes applied. Since the Green stereotype is first in priority, the color of the component is green.

To open the Manage Profiles tool, navigate to Modeling > Profile Editor > Manage.

Manage Profiles tool with RGBColors profile shown linked to the OrderingStereotypes model and the Manage Stereotype Order button visible on the bottom right.

Select the OrderingStereotypes.slx model, then click Manage Stereotype Order to rearrange the priority of the stereotypes in imported profiles.

Manage Stereotype Order dialog box with stereotypes ordered from top to bottom as Green, Red, and then Blue, with Blue highlighted.

Select RBGColors.Blue, then click the up arrow until RBGColors.Blue is the top priority. Accept changes by clicking OK.

Manage Stereotype Order dialog box with stereotypes ordered from top to bottom as Blue, Green, and then Red, with Blue highlighted.

Navigate back to the model canvas. The Door component is now colored blue.

Architecture model ordering stereotypes with Door component with a blue component header.

See Also

Tools

Blocks

Objects

Functions

Related Topics