Configure Multiple Tags In One Block

By default, only one attribute value is extracted from each block and matched to a tag name in the vault. If your blocks contain multiple tag names in multiple attribute values within the same block, you can map each attribute to a specific tag type.

To configure multiple tags in one block:

  1. In the TAGBLOCK section described in Configure the AutoCAD Link for each block that contains multiple equipment tags, add a TagFields setting.

    This setting is a comma-separated list of attribute names in the block that each contain values to be extracted.

  2. For each attribute name specified for TagFields, create a section using this syntax:

    [TAGFIELD_<BlockName>:<TagName>]

    Where <BlockName> is the block name and <TagName> is the attribute name.

  3. In each TAGFIELD section, create a TagProperty setting that specifies the tag name.

  4. Also in each each TAGFIELD section, create a TagType setting that specifies the corresponding object type to associate with tag name.

Following is an example of one complete TAGBLOCK section for multiple attributes:

[TAGBLOCK_BLOCK1]
TagFields=ATTR1,ATTR2,ATTR3

[TAGFIELD_BLOCK1:ATTR1]
TagProperty=ATTR1
TagType=Equipment

[TAGFIELD_BLOCK1:ATTR2]
TagProperty=ATTR2
TagType=Line

[TAGFIELD_BLOCK1:ATTR3]
TagProperty=ATTR3
TagType=Other

In this example for a block named BLOCK1, the equipment number in the attribute ATTR1 is linked to the tag type Equipment. The equipment number in the attribute ATTR2 is linked to the tag type Line. And the equipment number in the attribute ATTR3 is linked to the tag type Other.

2023