area | UL_AREA |
description | string |
headline | string |
library | string |
name | string (PACKAGE_NAME_LENGTH) |
Loop members
arcs() | UL_ARC |
circles() | UL_CIRCLE |
contacts() | UL_CONTACT |
holes() | UL_HOLE |
polygons() | UL_POLYGON |
rectangles() | UL_RECTANGLE |
texts() | UL_TEXT |
wires() | UL_WIRE |
Constants
PACKAGE_NAME_LENGTH | max. recommended length of a package name (used in formatted output only) |
Viz také UL_DEVICE, UL_ELEMENT, UL_LIBRARY
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.package(PAC) { printf("Package: %s\n", PAC.name); PAC.contacts(C) { if (C.pad) printf("\tPad: %s, (%d %d)\n", C.name, C.pad.x, C.pad.y); else if (C.smd) printf("\tSmd: %s, (%d %d)\n", C.name, C.smd.x, C.smd.y); } } } board(B) { B.elements(E) { printf("Element: %s, Package: %s\n", E.name, E.package.name); } }
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |