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");

2022-08-11_6-17-07.png

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.

2022-08-11_9-28-04.png

Click Manage Stereotype Order to rearrange the priority of the stereotypes in imported profiles.

2022-08-11_6-21-58.png

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

2022-08-11_9-29-20.png

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

2022-08-11_6-24-13.png

See Also

Tools

Objects

Functions

Related Topics