ATTEXT Command

Extracts attribute data

Command line: attext

CDF, SDF or DXF
Attribute extract (or Objects)? < C> : Enter an option or press ENTER


An attribute is informational text associated with a block. Use ATTEXT to extract attribute data at the command line and DDATTEXT to extract attribute data using the Attribute Extraction dialog box.

CDF: Comma-Delimited File

Generates a file containing one record for each block reference in the drawing. Commas separate the fields of each record. Single quotation marks enclose the character fields.

In the Select Template File dialog box, enter the name of an existing attribute extraction template file.

In the Create Extract File dialog box, enter a name for the output file. AutoCAD LT adds a .txt extension to extraction files in CDF or SDF format.

SDF: Space-Delimited File

Generates a file containing one record for each block reference in the drawing. The fields of each record have a fixed width; therefore, field separators or character string delimiters are not used.

In the Select Template File dialog box, enter the name of an existing attribute extraction template file.

In the Create Extract File dialog box, enter a name for the output file. AutoCAD LT adds a .txt extension to extraction files in CDF or SDF format.

DXF: Drawing Interchange File

Produces a subset of the AutoCAD LT drawing interchange file format containing only block reference, attribute, and end-of-sequence objects. DXF-format extraction does not require an attribute extraction template. AutoCAD LT adds the file extension .dxx to distinguish the output file from normal DXF files.

In the Create Extract File dialog box, enter a name for the output file. AutoCAD LT adds a .txt extension to output files in CDF or SDF format.

Objects

Selects objects whose attributes you want to extract.

Select object: Use an object selection method

Select Template File Dialog Box

Select the drive and look in the directory that contains the file you want to use as an attribute template.

File Name

Select or enter the name of the file you want to use as a template for the output file.

Files of Type

Select the type of files that you want to see listed in the File Name box.

Find File

To use search criteria to find attribute template files on multiple drives and directories, choose Find File. The Browse/Search dialog box is displayed.

Create Extract File Dialog Box

Select the drive and specify the directory in which you want to place the output file.

File Name

Select or enter the name of the output file you want to create.

Files of Type

Select the type of files that you want to see listed in the File Name box.

Related Commands: DDATTEXT uses dialog boxes to extract attribute data. DDATTE and ATTEDIT edit attributes independently of their associated block definitions. DDATTDEF and ATTDEF create an attribute definition for text to be associated with a block.
System Variables: ATTDIA causes the INSERT command to use dialog boxes for entry of attribute values. ATTMODE controls the attribute display mode. ATTREQ determines whether the INSERT command uses default attribute settings during insertion of blocks.