[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gschem-autonumber-hierarchical sheets



Hi,

On Tuesday 23 August 2005 18:06, phil@xxxxxxxxxxxxxxxxxxxxxxxx wrote:
> I have a three-sheet schematic and can't seem to get tu (autonumber
> text) to work in the 'hierarchical sheets' mode.  Presumably this
> will sequence all the R?'s or U?'s from one sheet through to the
> next.
>
> In the sheet 'proj_1.sch" (w/ proj_2.sch and proj_3.sch sheets also
> open in gschem) I hit "tu", then select refdes=R, hierarchical
> sheets, and "all".  It will autonumber the resistors on the current
> page, but doesn't seem to flow through to the other pages open in
> gschem.
>
> How do I tell gschem I have a hierarchy of pages?

Hierarchy means, that a schematic is a part of another  schematic.

In your case you have to create a master schematic, that contains the 
other three schematics.
The master schematic may be a blockdiagramm with three blocks.
Each block has a source attribute refering to one schematic.

Now you can select autonumber text from the master schematic.
The hierarchy contain all three schematics now.

If you're using the sourcecode of gschem you can take a look into the 
directory ./devel/gschem/tests/.
There are some files starting with autonumber.

Nevertheless, the autonumber code should handle multipage schematics.
Something like an "include all sisters" ;-) option.

regards
Werner