gaf: Fix memory leak
[geda-gaf.git] / docs / wiki / geda-gschem_ug-autonumbering.html
blob952351aaf6a247571039f43ee12c6e32af09e82a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
5 <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
6 <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
7 <link rel="stylesheet" media="print" type="text/css" href="./print.css" />
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10 </head>
11 <body>
12 <a href=.>start</a>&nbsp;=>&nbsp;<a href=geda-gschem_ug.html>gschem_ug</a></br>
13 <div class="table sectionedit1"><table class="inline">
14 <tr class="row0">
15 <td class="col0 leftalign"> &lt;&lt; <a href="geda-gschem_ug-slots.html" class="wikilink1" title="geda-gschem_ug-slots.html">Slots and slotting</a> </td><td class="col1 centeralign"> <strong><a href="geda-gschem_ug.html" class="wikilink1" title="geda-gschem_ug.html">gEDA gschem User Guide</a></strong> </td><td class="col2 rightalign"> <a href="geda-gschem_ug-hierarchy.html" class="wikilink1" title="geda-gschem_ug-hierarchy.html">Hierarchy</a> &gt;&gt; </td>
16 </tr>
17 </table></div>
18 <!-- EDIT1 TABLE [1-107] -->
19 <h2 id="autonumbering">Autonumbering</h2>
20 <div class="level2">
22 <p>
23 It is often useful to automatically number <a href="geda-gschem_ug-attributes.html" class="wikilink1" title="geda-gschem_ug-attributes.html">attributes</a> (for example, to set &quot;<code>pinseq=</code>&quot; attributes in bulk when editing a symbol, or to set components&#039; &quot;<code>refdes=</code>&quot; attributes for a large capacitor bank). The autonumbering facility in gschem can be accessed with <strong>Attributes→Autonumber Text</strong>.
24 </p>
26 <p>
27 The &quot;Autonumber text&quot; window has two sections:
28 </p>
29 <ul>
30 <li class="level1"><div class="li"> The &quot;Scope&quot; section, at the top, is used to specify which attributes should be autonumbered.</div>
31 </li>
32 <li class="level1"><div class="li"> The &quot;Options&quot; section below controls how the numbering is carried out.</div>
33 </li>
34 </ul>
36 </div>
38 <h3 id="choosingattributestonumber">Choosing attributes to number</h3>
39 <div class="level3">
41 <p>
42 In the &quot;Search for&quot; field, you should enter the attribute pattern to search for. You can enter <em>wildcards</em> here: &quot;<code>*</code>&quot; matches any number of characters, and &quot;<code>?</code>&quot; matches any single character. For example, if you enter &quot;<code>refdes=X*</code>&quot;, it will match components named &quot;<code>X1</code>&quot;, &quot;<code>X40</code>&quot;, &quot;<code>X302</code>&quot;, etc.
43 </p>
45 <p>
46 The &quot;Autonumber text in&quot; menu controls where autonumbering looks for attributes to modify. If &quot;Selected objects&quot; is chosen, only the objects that are currently <a href="geda-gschem_ug-selecting.html" class="wikilink1" title="geda-gschem_ug-selecting.html">selected</a> will be changed; with &quot;Current page&quot;, the whole page will be autonumbered. If &quot;Whole hierarchy&quot; is chosen, all open pages will be renumbered.
47 </p>
49 <p>
50 If some numbers are already in use, autonumbering will skip them. You can control where autonumbering looks for numbers to skip using the &quot;Skip numbers found in&quot; menu, which has the same options as the &quot;Autonumber text in&quot; menu described above.
51 </p>
53 <p>
54 If &quot;Overwrite existing numbers&quot; is enabled, all attributes found that match the pattern given in the &quot;Search for&quot; field will be renumbered; otherwise, only those that aren&#039;t already numbered will be changed.
55 </p>
57 </div>
59 <h3 id="controllingnumberassignment">Controlling number assignment</h3>
60 <div class="level3">
62 <p>
63 The &quot;Starting number&quot; sets the first number that autonumbering will try to assign. For example, to renumber a page with component numbers <code>U100</code>, <code>R101</code>, etc., set the &quot;Starting number&quot; to 100. The &quot;Sort order&quot; controls what order autonumbering assigns numbers.
64 </p>
66 <p>
67 If the &quot;Remove numbers&quot; option is enabled, then attributes have their numbers reset to &quot;<code>?</code>&quot; (for example, &quot;<code>R10</code>&quot; becomes &quot;<code>R?</code>&quot;).
68 </p>
70 </div>
71 </body>
72 </html>