Extracting BlockAttributes to a Text File
The ExtractBlockAttribute command lets you extract BlockAttribute values to text files of various formats. Template files define the data to extract. You can examine the extracted data using spreadsheet software or other applications.
To extract BlockAttributes to a text file:
- Type ExtractBlockAttribute at the command prompt.
- In the dialog box, for Template, type a template name to define the data to extract. Click to browse for a file.
- Click Select Entities to specify the entities for extracting BlockAttribute data.
- The dialog box closes temporarily.
- In the graphics area, select Blocks with BlockAttributes and press Enter.
- In the dialog box, for Output, type the location and name of the output file. Click to select a file name.
- In Format, select the file format to use when writing the BlockAttributes information:
- Comma Delimited File (CDF): Commas separate the fields of each BlockAttribute record. Strings are enclosed by single quotation marks.
- DXF Format Extract File (DXX): Writes the extracted data into a DXF file reduced to the relevant BlockAttribute data. The extension DXX distinguishes the file from DXF files. If you select the DXX format, the Template field is unavailable because it does not require a template.
- Space Delimited File (SDF): Spaces separate the fields of each BlockAttribute record. Strings are enclosed by single quotation marks.
- Click OK.
Access
Command: ExtractBlockAttribute