Referencing block properties

Referencing block properties in annotations

Callouts, balloons, and similar annotations that are connected to blocks with defined properties update to display the property text associated with that block when the block is placed. The annotations can be included in the master block or block view definition, or they can be added to a block occurrence on the drawing sheet.

Property text in nested blocks is resolved only for the top level block.

To display block properties in a annotation, you must create references between the properties entered in the Block Properties dialog box and the property text string of the callout or balloon. You can do this using any of the following property text strings:

|GBLM

You can reference basic block member data by typing the following property text strings exactly as shown into the Callout text box:

  • %{Block Name|GBLM} (displays the block name in the callout)

  • %{Block View Name|GBLM} (displays the block view name in the callout)

|GBLL

You can reference block label name-value properties by typing the following property text string in the Callout text box, and then replacing the Block Label portion of the string with the block label name that you want to extract:

%{Block Label|GBLL}

Example:

%{Inventory Number|GBLL}

%{Notes|GBLL}

|GBLK

You can reference additional name-value block properties by selecting "Block Property" from the Properties list in the Select Property Text dialog box. This displays the following string in the Property Text field in the dialog box:

%{Block Property|GBLK}

By typing the same block property name you defined in the Name field of the Block Properties dialog box over the Block Property portion of the property text string, you can extract the matching value into the callout.

Example:

If the property name is Cost, then replace "Block Property" with "Cost," so that it looks like this: %{Cost|GBLK}.

Multiple levels of text can be displayed in callouts by creating multiple entries in the Callout Properties dialog box.

Example:

%{Block Name|GBLM} displays the block name in the callout.

%{Cost|GBLK} %{Unit|GBLK} %{model|GBLK} displays values for cost, units, and model in the callout, if values are defined in the Value column of the Block Properties dialog box for each of these attribute Names.

For more information, see Display block properties in a callout.

Referencing block properties in tables

Tables that are created from blocks display these columns by default:

If the blocks also contain block labels with names and values, you can choose to show the label information in columns in the block table. You can do this by selecting each label name from the Properties list on the Columns tab in the Block Table Properties dialog box, and then adding it to the table using the Add Column button.

Example:

The label name column headings correspond to the names you defined in the block label name-value pairs in the Block Label Properties dialog box.

  • LABEL NAME

  • CATEGORY

  • INVENTORY ID

  • NOTES

Using the same technique as for block labels, you can choose any of the other named block properties to display as table columns by selecting their names from the Properties list.

For more information, see Create a table from blocks.

What are you looking for?
How do I
Learn more about
Look up more details