dx[layer], dy[layer] | int (size) |
layer | int (see Note) |
name | string (SMD_NAME_LENGTH) |
roundness | int (see Note) |
signal | string |
x, y | int (center point, see Note) |
Constants
SMD_NAME_LENGTH | max. recommended length of an smd name (same as CONTACT_NAME_LENGTH) |
Viz také UL_PACKAGE, UL_CONTACT, UL_PAD
Note
The coordinates (x, y), layer and roundness of the smd depend on the context in which it is called:
Příklad
library(L) { L.packages(PAC) { PAC.contacts(C) { if (C.smd) printf("Smd: '%s', (%d %d), dx=%d, dy=%d\n", C.name, C.smd.x, C.smd.y, C.smd.dx, C.smd.dy); } } }
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |