populate | int (0=do not populate, 1=populate) |
value | string |
technology | string |
variantdef | UL_VARIANTDEF |
See also UL_VARIANTDEF, UL_PART, variant()
schematic(SCH) {
printf("Defined assembly variants:\n");
SCH.variantdefs(VD) {
printf("\t'%s'\n", VD.name);
}
printf("\n");
printf("Part\tVariantdef\tValue\tTechn.\tPopulated\n");
SCH.parts(P) {
printf("%s\t%s\t%s\t%s\t%s\n", P.name, "default", P.value, P.device.activetechnology, "yes");
P.variants(V) {
printf("%s\t%s\t%s\t%s\t%s\n", P.name, V.variantdef.name, V.value, V.technology, V.populate ? "yes" : "no");
}
}
}