2004

Table Of Contents
346 | Chapter 16 Draw Geometric Objects
You can create any number of template files, depending on how you'll use
the data. Each line of a template file specifies one field to be written in the
attribute extraction file.
Follow these additional guidelines:
Be sure to place a space between the attribute tag and the character or
numeric data. Use
SPACEBAR, not TAB , to enter the space.
Press ENTER at the end of each line, including the last line.
Each attribute extraction template file must include at least one attribute
tag field, but the same field can appear only once in the file.
The following is a sample template file.
BL:NAME C008000 (Block name, 8 characters)
BL:X N007001 (X coordinate, format nnnnnn.d)
BL:Y N007001 (Y coordinate, format nnnnnn.d)
SUPPLIER C016000 (Manufacturer's name, 16 characters)
MODEL C009000 (Model number, 9 characters)
PRICE N009002 (Unit price, format nnnnnnnn.dd)
Note The format code for a numeric field includes the decimal point in the
total field width. For example, the minimum field width to accommodate the
number 249.95 would be 6 and would be represented as N006002. Character
fields do not use the last three digits of the format code.
Field (C)haracter or
(N)umeric data
Maximum field
length
Decimal places
Block name C 040 000
Manufacturer C 006 000
Model C 015 000
Cost N 006 002