Importing BlockAttribute Values¶
Use the ImportBlockAttributes command to import BlockAttribute values from a previously exported ASCII file. See Exporting BlockAttributes.
You can use BlockAttributeOutput and ImportBlockAttributes to change BlockAttribute values of the selected Blocks. Additionally, ImportBlockAttributes allows you to modify the values before importing them. The command will use the current values, not the values from the imported file.
The command reads the imported file, searches the drawing for Block instances with the same handle as in the file and applies the new attribute values to those blocks. If a Block is missing, the command lets you to select other blocks to apply the attributes.
To import BlockAttribute values:
Do one of the following:
On the ribbon, click XtraTools > Block > Import BlockAttributes.
On the menu, click XtraTools > Block > Import BlockAttributes.
Type ImportBlockAttributes.
In the dialog box, click Browse.
Select the attributes file to import and click OK.
The dialog box displays the imported values in the list.
You can sort the list according to the entries of a column by clicking the column header. Sequential clicks switch between ascending and descending order.In the list, modify the values of the attributes. Use one of the following methods:
Modify individual values: Double-click the cell containing the BlockAttribute to modify and type the new value.
Find and replace:
Select the rows you want to modify.
In Find what, type the text or the value to find.
In Replace with, type the text or value to replace the search string or value.
Click Replace.
The list displays the new values.
In the list, select the BlockAttributes to import in the current drawing.
Enable Select all to select all blocks in the list.
The command uses the current list values, not the imported values.Click OK.
Access
Command: ImportBlockAttributes
Menu: XtraTools > Block > Import BlockAttributes
Ribbon: XtraTools > Block > Import BlockAttributes
Related Topics
Parent Topic