AutoCAD Electrical can link project description lines and some of the drawing properties to attributes on the drawing title block . There are two methods:
During a title block update, AutoCAD Electrical follows this sequence to determine which method to use.
AutoCAD Electrical can map the following project and drawing specific values to attributes on the title block.
project description line, where “x” is the project description line number
sheet number value (the %S value) assigned in the Drawing Properties dialog box
number of drawings in the active project (the "N" value in title block "SHEET x of "N")
drawing name value (the %D value) assigned in the Drawing Properties dialog box
DD1 (or DWGDESC), DD2, DD3
the drawing descriptions assigned in the Drawing Properties dialog box
optional Section code assigned in the Drawing Properties dialog box
optional Subsection code assigned in the Drawing Properties dialog box
drawing file name without path or extension
drawing file name with path and extension
drawing file name with .dwg extension only
Project value of the drawing assigned in the Drawing Properties dialog box
Installation value of the drawing assigned in the Drawing Properties dialog box
Location value of the drawing assigned in the Drawing Properties dialog box
current time (24-hr military format)
current time (12 hr am/pm format)
current date (MM:DD:YYYY format)
current date (MM:DD:YY format)
current date (YY:MM:DD format)
current date (YYYY:MM:DD format)
You can also mapsuch as fixed text within quotes, environment variables, system variables, and AutoLISP variables.
AutoCAD Electrical allows three description lines per drawing. If more description lines are needed, each description line can be broken into multiple pieces by the “|” character. Each piece is then mapped to a different attribute on the title block.
For example, to map the first description line to three attributes, use this format:
Then, in the Description 1 value in thedialog box, delimit the value with “|” at the break points. For example, “Main cabinet|120VAC|PLC I/O”. The Update Title Block command splits this string of text across the three title block attributes.
Creates or modifies the link between title block attributes and project and drawing values.
The link between AutoCAD Electrical and the title block is defined by either an external WDT text file or by an invisible WD_TB attribute added to your existing title block. If the WDT method is used, you can use a project-specific file or the Default.wdt file. In either case, the title block attribute names are mapped to the project-wide LINEx values and to several drawing-specific setting values.
Create a project-specific mapping file that only references for drawings in the current project. The file name is the same as the project name with a .wdt extension.
Create a default mapping file in the project's subdirectory that is referenced if a project-specific file is not found and if a WD_TB attribute is not present in the title block.
Create a default mapping file in the default AutoCAD Electrical subdirectory that is referenced if a project-specific file is not found and if a WD_TB attribute is not present in the title block.
The title block contains an invisible attribute with a value that defines the mapping between the title block and AutoCAD Electrical. No external WDT file is required because the mapping information is self-contained on the title block.
The attribute name = WD_CODE mapping information is encoded on the WD_TB attribute on the title block of the drawing. The value of the attribute gives the mapping information in the format of a semi-colon delimited text string. For example:
where project wide values for LINE1 and LINE2 codes update attributes TITLE-1 and TITLE-2. The %S sheet value is copied to the title block attribute SH, and the number of drawing files in the project is written out to attribute SH_TOTAL.
Defines what pieces of AutoCAD Electrical project data or drawing specific data that AutoCAD Electrical should copy to that attribute. The information is written to theor the depending on the method chosen.
Specify the title block link method, enter a block name, and click OK.
Title block name
Lists the available title block names.
Adds new title blocks to the project. Enter a block name. For multiple blocks, separate with a comma. For example, DEMOTBLK,DEMOTBLK2,DEMOTBLK3
Edits the selected title block.
Removes the selected title block.
Selects an attribute directly on the drawing if you do not know the name of attribute.
Specifies the attribute to use for the drawing, project, or plotting value. Select an attribute from the list.
Project Values / Drawing Values / Plotting Values
Shows the project, drawing-specific, and plotting values.
Displays the first set of description lines
Displays the previous set of description lines
Displays the next set of description lines
Displays the last set of description lines, where one of the lines has a value
Maps attributes to text constants or AutoLISP values.
Assigns text constants and AutoLISP expressions to a title block attribute.
Specify the title block link method, enter a block name, and click OK. Click User Defined on the Title Block Setup dialog box.
Current User-defined Assignments
Lists the attributes and assigned text constant or AutoLISP expression.
Modify an existing link by selecting it from the attribute list. To clear an existing link, select -none- from the attribute list.
Text constant or AutoLISP expression
Enter a text constant or an AutoLISP expression to assign to the attribute. For example, you can assign (getvar “LOGINNAME”) to attribute DWGBY, or you can assign YourName to DWGBY.
Adds the text constant or AutoLISP expression to the user-defined list.