The example Label shown in Figure 12:2.: A Typical Label Element could be created simply by typing the following (starting at LAYE) level:
create new General Label (or NEW SLAB to create a Special Label)
The above two commands are all that is needed to create a Label with the features shown in Figure 12:2.: A Typical Label Element; the text which appears in the Label frame is by default the name of the Design element at the Label attachment point, all other attributes having default settings cascaded down from the owning Layer.
The Label attachment point can be offset from the DDNM using the
APOF (Attachment Point Offset) attribute. This defines an offset position (in VIEW coordinates) measured from the p-point/p-line distance referenced by the Label. The leader line will be attached to this point (although if the clearance attribute (LLCL) is set the leader line will overshoot or stop short of it). This means that the leader line and its terminator can be moved away from the p-point to any desired position. By default APOF will be (0,0) - i.e. no offset. APOF may be set directly, for example:
The Body Text (BTEX) attribute is by default set to the ‘intelligent text’ string #NAME, which translates to the name of the Design element at the attachment point when the Label is created. If the Design element at the attachment point is unnamed, an ‘error-text’ string will appear in the Label frame. This string is customisable and defined by the LAYE’s NTEXT attribute. Refer to
Customizing Error Text for further information.
would produce the Label shown in Figure 12:3.: Label Text. Note how the size of the Label frame automatically adjusts to accommodate the specified text.
Label text can be edited through use of the EDTEXT command. For example, if the target string is ‘NOZZLE 2’: