device | UL_DEVICE |
name | string (PART_NAME_LENGTH) |
value | string (PART_VALUE_LENGTH) |
Loop members
instances() | UL_INSTANCE (see Note) |
Constants
PART_NAME_LENGTH | max. recommended length of a part name (used in formatted output only) |
PART_VALUE_LENGTH | max. recommended length of a part value (used in formatted output only) |
Viz také UL_BOARD
Note
If the part is in a sheet context, the instances() loop member loops only through those instances that are actually used on that sheet. If the part is in a schematic context, all instances are looped through.
Příklad
schematic(S) { S.parts(P) printf("Part: %s\n", P.name); }
OBSAH | Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH |