2008

Table Of Contents
Electrical project data or drawing specific data that AutoCAD Electrical should
copy to that attribute. The PLOTTIME and PLOTDATE entries also appear in
this file but they are used only by the AutoCAD Electrical batch plotting
routine.
You can include other non-AutoCAD Electrical-mapped attributes as well in
this mapping file. For example, the line
DRAWN_BY = "Joe Doe"
This triggers AutoCAD Electrical to look for an attribute named "DRAWN_BY"
and, if found, insert a value of "Joe Doe." If your target attribute name contains
an AutoLISP wild-card character such as #, ?, [, ], -, @, ~, ., or * then you'll need
to precede that character with the ` character. For example, if your target
attribute name is SHT# and you want to map the AutoCAD Electrical SHEET
parameter to it, you would set up the mapping with
SHT'# = SHEET
You can create project-specific mapping files. AutoCAD Electrical always looks
for a mapping file that matches the current project's .wdp file name before it
defaults to DEFAULT.WDT. For example, if the current, active project is
ACME99.WDP and you instruct AutoCAD Electrical to do a title block update,
AutoCAD Electrical looks for mapping file ACME99.WDT. If not found,
AutoCAD Electrical then looks for DEFAULT.WDT (and if not found, AutoCAD
Electrical aborts the command).
Map information embedded on the title block
An invisible attribute on your drawing's title bock, named "WD_TB," can be
encoded with the mapping information. This method eliminates the need for
an external mapping text file. When you instruct AutoCAD Electrical to do a
project-wide title bock update, AutoCAD Electrical first searches each drawing
for any block that carries an attribute named WD_TB. If found, AutoCAD
Electrical assumes that is has found the drawing's title block and skips any
search for a .wdt file. AutoCAD Electrical extracts the WD_TB attribute value
where the mapping information is stored. The format is <attribute
name>=<LINEx>;<attribute name>=<LINEx>. Here is an example of what the
WD_TB attribute value would be:
PROJ_TITLE=LINE1;DRAW_TITLE1=LINE2;DRAW_TITLE2=DWGDESC;PROJ_NUM=LINE4
Link information to the title block | 719