Enumeration
To use enumerations, define an Attribute usage that is feature-typed by an Enumeration Definition
Creating an Enumeration
To create an Enumeration from the System Structure Diagram toolbar:
1. On the System Structure Diagram toolbar, click the Enumeration button.
2. Click on the diagram canvas to the create the item.
3. To use it with an attribute, click the Feature Typing button, then click on the edge of the Attribute Usage item and then click on the Enumeration Definition that you just created.
To create an Enumeration from the context menu in a Package browser:
Right-click on the element for which you want to create the Enumeration, and select New > SysML2 > Enumeration Definition.
Was this helpful?