This command is used in the library editor to define or edit the description of a device, package or library.
The description_string may contain Rich Text tags.
The first non-blank line of description_string will be used as a short descriptive text (headline) in the Control Panel.
The DESCRIPTION command without a parameter opens a dialog in which the text can be edited. The upper pane of this dialog shows the formatted text, in case it contains Rich Text tags, while the lower pane is used to edit the raw text. At the very top of the dialog the headline is displayed as it would result from the first non-blank line of the description. The headline is stripped of any rich text tags.
The description of a library can be defined or modified via the command line only if the library is
newly opened, and no device, symbol or package has been edited yet. It can always be
defined via the pulldown menu "Library/Description...".
The description of a device set or package can always be edited via the command line,
or via the pulldown menu "Edit/Description...".
Example
DESCRIPTION '<b>Quad NAND</b><p>\nFour NAND gates with 2 inputs each.';This would result in
Quad NAND
Four NAND gates with 2 inputs each.
Index | Copyright © 2005 CadSoft Computer GmbH |