-
Open the logical component or function that contains the behaviors where tags
should be added or edited.
You can do that by double-clicking the logical component or function in the
tree.
-
From the Behavior section of the
action bar, click Edit Behavior
Tags
.
The
Tags Behavior Edition dialog box appears. It
displays the structure of the selected logical component or function, including
the behaviors.
Notes:
- In the FL Structure column, you can expand
nodes down to single behaviors.
- A single behavior line displays both the representation reference
and the behavior name, to compress the dialog.
- Dymola context behaviors are presented as virtual nodes
Context Behavior.
- If any behavior tags are present, they are displayed in separate
columns.
- If undocked, you can minimize the Tags
Behavior Edition dialog box. If minimized, it is
represented by an icon on the right side of the screen.
-
To create a new tag, do the following:
-
Click Create a new tag.
The Change Tag Name dialog box
appears.
-
Enter the name of the new tag and click
OK.
The following applies to behavior tag names:
- A behavior tag is a single line of free text
- Unicode text is supported
- Empty tags are not supported
A new column appears with the tag name as title. In this column,
a checkbox is added for each behavior. The checkbox is cleared for all
behaviors.
-
To edit a tag name, do the following:
-
Right-click the tag name column header, and select Change
tag name
.
-
Change the name and click OK.
The tag name is changed for all behaviors that have this tag. If the tag is changed
to an already existing tag name, the corresponding behaviors are merged into the
column of the existing tag name.
-
To delete a tag, right-click the tag name column header, and select
Delete tag
.
The column disappears, and the tag is deleted from all
behaviors.
-
To add a tag to a behavior, in the tag name column, activate the corresponding
tag by clicking the empty checkbox .
The tag is acticated, indicated by .
Notes:
- You can select to add the tag to several behaviors
- A behavior can have several different tags
- If you have created a tag and do not add it to a behavior, the tag
disappears when you close the dialog.
-
To remove a tag from a behavior, in the tag name column, deactivate the
corresponding tag by clicking the activated checkbox .
The tag is deacticated, indicated by .
Note:
If you remove a tag from all behaviors, this tag, and the
corresponding column, is removed when you close the dialog box.
The following is the result:
- The editing of the behavior tags is applied immediately.
- The tags are saved under the corresponding behaviors when the model is saved.