EAGLE Help Light

UL_DEVICESET

Data members

area UL_AREA
description string
headline string (see Note)
name string (DEVICE_NAME_LENGTH)
prefix string (DEVICE_PREFIX_LENGTH)
value string ("On" or "Off")

Loop members

devices() UL_DEVICE
gates() UL_GATE

Constants

DEVICE_NAME_LENGTH max. recommended length of a device name (used in formatted output only)
DEVICE_PREFIX_LENGTH max. recommended length of a device prefix (used in formatted output only)

Viz také UL_DEVICE, UL_LIBRARY, UL_PART

Note

The description member returns the complete descriptive text as defined with the DESCRIPTION command, while the headline member returns only the first line of the description, without any Rich Text tags. When using the description text keep in mind that it may contain newline characters ('\n').

Příklad


library(L) {
  L.devicesets(S) {
    printf("Device set: %s, Description: %s\n", D.name, D.description);
    D.gates(G) {
      printf("\t%s\n", G.name);
      }
    }
  }


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH