ATTEXT — Extract Attributes
Extracts block attributes to a CSV file or a table.
- Command:
ATTEXT· Global name:_ATTEXT· Alias:DDATTEXT - Ribbon: Insert › Attributes
- Menu: Insert
Extracts the attribute values of blocks to a table in the drawing or to a CSV file that opens in a spreadsheet. It is useful for door, device or luminaire schedules.
Usage
- Enter ATTEXT or click the button. To also output the other objects (count, layer, length and area), use DATAEXTRACTION.
- Select the blocks and press Enter, or press Enter without selecting to take all those in model space.
Select blocks or [ALL] <ALL>:
- Choose the output.
Output [Table/File] <Table>:
- With Table, specify the upper-left corner of the table.
Upper-left corner of the table:
- With File, enter the file path.
CSV file:
Options
- ALL (ALL): every block with attributes in model space.
- Table (T): a table titled "Block Attributes", with a header row and one row per block.
- File (F): a comma-separated CSV file.
Notes
- The columns are the block name, the X and Y coordinates of its insertion point and one attribute tag per column, in the order they appear. There is no wizard to choose columns: they are all output.
- If the path does not end in
.csvor.txt,.csvis added. The file has a UTF-8 mark so that the spreadsheet reads accented characters correctly. - The table is created with the current text height and is edited like any other table (TABLE).