2011

Table Of Contents
By default, character fields are enclosed with single quotes (apostrophes). The
default field delimiter is a comma. The following two template records can be
used to override these defaults:
C:QUOTE c (Character string delimiter)
C:DELIM c (Field delimiter)
The first nonblank character following the C:QUOTE or C:DELIM field name
becomes the respective delimiter character. For example, if you want to enclose
character strings with double quotes, include the following line in your
attribute extraction template file:
C:QUOTE "
The quote delimiter must not be set to a character that can appear in a
character field. Similarly, the field delimiter must not be set to a character
that can appear in a numeric field.
If you specified an SDF format using the sample template, the file might be
similar to the following example.
(PRICE)(MODEL)(SUPPLIER)(Y)(X)(NAME)
379.9551-793WACME IN-
DUST.
49.5120.0DESK
199.9534-902AACME IN-
DUST.
47.0122.0CHAIR
249.95X-52-44TOP DRAWER
INC.
40.0-77.2DESK
The order of the fields corresponds to the order of the fields in the template
files. You can use these files in other applications, such as spreadsheets, and
you can sort and manipulate the data as needed. For example, you can open
an attribute extraction file in Microsoft Excel in which you can specify a
separate column for each field. See the documentation for your spreadsheet
program for information about how to use data from other applications. If
you open the file in Notepad or another Windows text processor, you can
paste the information back into the drawing as text.
Nested Blocks
The line BL:LEVEL in a template file reports the nesting level of a block
reference. A block that is inserted in a drawing has a nesting level of 1. A block
Extract Block Attribute Data (Advanced) | 887