2011

Table Of Contents
NOTE If the expression is a full AutoLISP function, it must return a string value
(not an integer, real, list, or nil value). The program must be encoded into the
project description data as "(load 'filename.lsp')." It must be self-starting upon
load.
See also:
Set project descriptions on page 203
Assign a variable to a project description line
For example, the environment variable USERNAME contains a value that
must show up on the drawing title block.
1 Click Project tab Project Tools panel Manager.
2 In the Project Manager, right-click the project name, and select
Descriptions.
3 Enter the AutoLISP function (getenv "USERNAME") on one of the
description lines.
4 Select OK.
5 Using either the
WD_TB attribute method on page 1216method or the WDT
file method
on page 1218, map the project line to the appropriate attribute
on the title block, for example DWGBY.
6 Click Project tab Other Tools panel Title Block Update.
The Update Title Block dialog box displays.
7 Check the appropriate project description line for update.
NOTE Check the Activate each drawing to process if the variable is drawing
specific.
8 Select the drawings for updating.
During the title block update AutoCAD Electrical evaluates the expression,
and writes that value out to the attribute that is mapped to the project
Map AutoLISP values to the title block | 1227