# ATTEXT Command [GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [A](%28A%29.md) ## Function Description: > Extract attribute data, informational text associated with a block, into a file **Command Entry:** > ATTEXT **Command Prompt:** > If you enter *-attext* at the Command prompt, the following ATTEXT Command prompts are displayed. > > Select objects or extract attibutes as: \[DXF/SDF/CDF\]\<CDF\>: > > **CDF:** Comma-Delimited File > > > Generate 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 the name for the output file. The extract file's file name extension is .*txt* for CDF or SDF format. > > **SDF:** Space-Delimited File > > > Generate 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 the name for the output file. The extract file's file name extension is .*txt* for CDF or SDF format. > > **DXF:** Drawing Interchange File > > > Produce a subset of the > > GstarCAD Drawing Interchange File format containing only block reference, attribute, and end-of-sequence objects. DXF format extraction requires no template. The file name extension .*dxx* distinguishes the output file from normal DXF files. > > > > In the Create Extract File Dialog Box, enter the name for the output file. The extract file's file name extension is .*dxx* for DXF format. ## Other versions with matching text [GstarCAD 2012](../../../2012/Commands/A/ATTEXT%20Command.md)