| device | UL_DEVICE |
| deviceset | UL_DEVICESET |
| 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) |
See also 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.
Example
schematic(S) {
S.parts(P) printf("Part: %s\n", P.name);
}
| Index | Copyright © 2003 CadSoft Computer GmbH |