junctions() | UL_JUNCTION (see Note) |
pinrefs() | UL_PINREF (see Note) |
texts() | UL_TEXT |
wires() | UL_WIRE |
Note
The junctions() and pinrefs() loop members are only available for net segments.
Example
schematic(SCH) {
SCH.sheets(SH) {
printf("Sheet: %d\n", SH.number);
SH.nets(N) {
printf("\tNet: %s\n", N.name);
N.segments(SEG) {
SEG.pinrefs(P) {
printf("connected to: %s, %s, %s\n",
P.part.name, P.instance.name, P.pin.name);
}
}
}
}
}
Index | Copyright © 1999 CadSoft Computer GmbH |