applyStereotypeOrder
Description
applyStereotypeOrder(
replaces the existing stereotype order with the provided stereotype order
model
,newOrder
)newOrder
for the architecture model
model
.
Stereotypes in a model are collected from all profiles imported into the model. When you apply multiple stereotypes to a component, stereotype-based styling, such as the component header color, is inherited from the color defined in the topmost stereotype in the order.
Examples
Input Arguments
More About
Version History
Introduced in R2024a
See Also
Tools
Blocks
Objects
systemcomposer.profile.Profile
|systemcomposer.profile.Stereotype
|systemcomposer.profile.Property
Functions
systemcomposer.profile.Profile.createProfile
|systemcomposer.loadProfile
|applyProfile
|removeProfile
|renameProfile
|systemcomposer.profile.editor
|systemcomposer.profile.Profile.find
|systemcomposer.profile.Profile.load
|save
|open
|close
|systemcomposer.profile.Profile.closeAll
|systemcomposer.profile.Stereotype.find
|getDefaultStereotype
|setDefaultStereotype
|getDefaultElementStereotype
|setDefaultElementStereotype
|addStereotype
|removeStereotype
|getStereotype
|applyStereotype
|batchApplyStereotype
|getStereotypes
|changeStereotype
|removeStereotype
|hasStereotype
|addProperty
|removeProperty
|hasProperty
|setProperty
|getProperty
|getPropertyValue
|getEvaluatedPropertyValue
|getStereotypeProperties
|getStereotypeNamesByOrder
|increaseStereotypeOrder
|decreaseStereotypeOrder
Topics
- Extend System Composer Language Elements Using Profiles
- Analyze Architecture
- Change Stereotype Order Using Manage Profiles Tool
- Change Stereotypes Based on Stereotype Hierarchy in Portable Blender Architecture
- Create and Manage Allocations Programmatically
- Apply Stereotypes to Functions of Software Architectures