Main Content

Create Labels

In a project, use labels to organize files and communicate information to project users. You can create these types of label categories:

  • Single-valued — You can attach only one label from the category to a file.

  • Multi-valued — You can attach multiple labels from the category to a file.

TheLabelstree has built-in labels in the single-valuedClassificationcategory:

  • You cannot rename or deleteArtifact,Convenience,派生的,Design,None,Test, andOther.

  • 你不能注释内置标签。

To create a label category:

  1. In a project, right-click theLabelspane. Then selectCreate New Category.

  2. In the Create Category dialog box, enter a name for the new category.

  3. If you require a single-valued label category, select theSingle Valuedcheck box. The default is multi-valued.

  4. If you want to specify a data type for the label other thanString, from theTypelist, selectDouble,Integer,Logical, orNone.

  5. ClickCreate.

To create a label in a category:

  1. In theLabelspane, right-click the label category and selectCreate New Label.

  2. In the Create Label dialog box, enter a name for the new label and clickOK.

To rename or delete a category or label, right-click it and selectRenameorRemove.

To create new labels at the command line, seeAutomate Project Tasks Using Scripts.

Related Topics