Set Attribute Value

The Set Attribute command allows you to change an attribute value for one or one hundred elements simultaneously. It can be applied to a homogenous set of elements in a single class or a heterogeneous set of elements in a package or on a diagram.

 

Select the elements in question (via shift or control clicking as appropriate) and click the Set Attribute command. The resulting dialog uses the first element selected to present the list of possible attributes to set. Select the desired attribute from the drop down and the value pane will change to best represent the attribute type and to show the current value. Edit the value as desired. When you click OK, that value will be set for all selected elements.

 

 

 

Tips and Tricks

The Set Attribute command is included on the menus for element lists and diagrams. The primary intent is to select multiple elements and set an attribute to a common value (for example, setting the requirement type to constraint). Often times, even when addressing a single element, it may be quicker to use this command to change an attribute value than to open the property.