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) |
See also 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:
Example
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); } } }
Index | Copyright © 2001 CadSoft Computer GmbH |