Guide to Generating Drawings
Guide to Generating Drawings
Guide to Generating Drawings

Tag Sets and Definitions

Before you can attach tags to elements, you must define tag sets. A tag set definition specifies the unique tag name, display attributes, data type, and default value for each tag in the set.

General Procedure — To define a tag set
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. Click the Add button in the Sets section of the dialog box.
    The Tag Set Name dialog box opens.

  3. In the Name field, key in the tag set name.

  4. Click OK.
    The new set name displays in the Sets list box.

  5. Define each tag in the set. See To define a tag.

To define a tag
  1. In the Tag Sets dialog box's Sets list box, select the set to which you want to add the tag.

  2. Click the Add button in the Tags section of the dialog box.
    The Define Tag dialog box opens.

  3. In the Tag Name field, key in the tag name.

  4. (Optional) To customize the prompt for the tag value that appears in the Attach Tags box when the tag is being attached, key in the desired prompt text in the Prompt field. The default prompt text is “Value?”

  5. From the Type option menu, choose the tag data type (Character, Integer, or Real).

  6. (Optional) To define a default value for the tag, key in the value in the Default Tag Value field.

  7. (Optional) To cause the use of the default value upon attachment of the tag, turn on Default.

  8. (Optional) To cause the Attach Tags dialog box to be opened for confirming the default tag value upon attachment of the tag, turn on Confirm.

  9. (Optional) To prevent the tag value from being displayed with each element to which the tag is attached, turn off Display Tag.

  10. Click OK.
    The tag is listed in the Tags list box in the Tag Sets dialog box.

To edit a tag definition
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. Select the set in the Sets list box.

  3. Select the tag in the Tags list box.

  4. Click Edit.
    The Define Tag dialog box opens.

  5. (Optional) To change the tag's name, key in the new name in the Tag Name field.

  6. (Optional) To customize the prompt for the tag value that appears in the Attach Tags dialog box when the tag is being attached, key in the desired prompt text in the Prompt field.

  7. (Optional) To change the tag's data type, choose the new type (Character, Integer, or Real) from the Type option menu. Do not change a tag's data type after having attached any instances of the tag.

  8. (Optional) To define or change the default value for the tag, key in the value in the Default Tag Value field.

  9. (Optional) To cause the use of the default value upon attachment of the tag, turn on Default.

  10. (Optional) To cause the Attach Tags dialog box to open for confirming the default tag value upon attachment of the tag, turn on Confirm.

  11. (Optional) To prevent the tag value from displaying with each element to which the tag is attached, turn off Display Tag.

  12. Click OK.

To rename a tag set definition
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Sets list box, select the set.

  3. Click Rename.
    The Tag Set Name dialog box opens.

  4. In the Name field, key in the new tag set name.

  5. Click OK.

To duplicate a tag set definition
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Sets list box, select the set.

  3. Click Duplicate.
    The Tag Set Name dialog box opens.

  4. In the Name field, key in the duplicate tag set name.

  5. Click OK.
    The duplicate tag set is listed in the Sets list box. Duplicating a tag set definition also duplicates the set's tag definitions.

To remove a tag set definition
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Sets list box, select the set you want to remove.

  3. Click Remove.
    An alert box opens, which asks if you are sure you want to remove the tag set definition and all instances of the set's member tags in the design.

  4. If you are sure, click OK.

To remove a tag definition
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Tags list box, select the tag you want to remove.

  3. Click Remove.
    An alert box opens, which asks if you are sure you want to remove the tag definition and all instances of the tag in the design.

  4. If you are sure, click OK.

Tag set libraries

Tag set libraries are files that contain tag set definitions for use across multiple design files. The standard filename suffix for tag set libraries is “.tlb.”

Before creating a tag set library, you must define tag sets (see Defining a Tag Set).

All of the tag sets in a library must have unique names.

To create a tag set library
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Tag Sets list box, select the first tag set to be inserted in the new library.

  3. From the File menu's Export submenu (in the dialog box), choose Create Tag Library.
    The Export Tag Library dialog box opens.

  4. In the Files field, key in a tag set library name.

  5. Click OK.
    The tag set library is created, and the selected tag set is inserted.

To append a tag set to a tag set library
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. In the Tag Sets list box, select the tag set to append.

  3. From the File menu's Export submenu (in the dialog box), choose Append to Tag Library.
    The Export Tag Library dialog box opens.

  4. Select the desired tag set library and click OK.

To copy a tag set(s) from a library into the active design file
  1. From the Element menu's Tags submenu, choose Define.
    The Tag Sets dialog box opens.

  2. From the dialog box's File menu's Import submenu, choose From Tag Library.
    The Open Tag Library dialog box opens.

  3. Select the tag set library that contains the desired tag set, and click OK.
    The Import Sets dialog box opens.

  4. In the list box, select the tag set(s) to copy.

  5. Click OK.