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 © 2005 CadSoft Computer GmbH |