File: 189.htm

package info (click to toggle)
eagle 4.16-5
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 36,508 kB
  • sloc: sh: 82; makefile: 32
file content (55 lines) | stat: -rw-r--r-- 1,752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<html>
<head>
<title>EAGLE Help: UL_SEGMENT</title>
</head>
<body bgcolor=white>
<font face=Helvetica,Arial>
<hr>
<i>EAGLE Help</i>
<h1><center>UL_SEGMENT</center></h1>
<hr>
<b>Loop members</b>
<p>
<table>
<tr><td valign=top><font face=Helvetica,Arial><tt>junctions()</tt>  </font></td><td valign=top><font face=Helvetica,Arial><a href=177.htm>UL_JUNCTION</a> (see note)</font></td></tr>
<tr><td valign=top><font face=Helvetica,Arial><tt>pinrefs()</tt>    </font></td><td valign=top><font face=Helvetica,Arial><a href=185.htm>UL_PINREF</a> (see note)</font></td></tr>
<tr><td valign=top><font face=Helvetica,Arial><tt>texts()</tt>      </font></td><td valign=top><font face=Helvetica,Arial><a href=194.htm>UL_TEXT</a></font></td></tr>
<tr><td valign=top><font face=Helvetica,Arial><tt>wires()</tt>      </font></td><td valign=top><font face=Helvetica,Arial><a href=196.htm>UL_WIRE</a></font></td></tr>
</table>
<p>
<b>See also</b> <a href=165.htm>UL_BUS</a>,
<a href=180.htm>UL_NET</a>
<p>
<b>Note</b>
<p>
The <tt>junctions()</tt> and <tt>pinrefs()</tt> loop members are only available
for net segments.
<p>
<b>Example</b>
<pre>
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);
          }
        }
      }
    }
  }
</pre>

<hr>
<table width=100% cellspacing=0 border=0><tr><td align=left><font face=Helvetica,Arial>
<a href=index.htm>Index</a>
</font></td><td align=right><font face=Helvetica,Arial size=-1>
<i>Copyright &copy; 2005 CadSoft Computer GmbH</i>
</font></td></tr></table>
<hr>
</font>
</body>
</html>