random annotation in complex hierarchy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
i am presently using BZR 3044 on windows.
issue i have recently discovered is with annotation being random when using hierarchical sheets.
one CAN influence annotation order in ONE sheet but unfortunately, this does not work with multiple sheets.
Annotating by hand is just not practical for anything using more than few components.
for example in top level sheet i created 12 instances to another sheet (instances are same file, but have unique sheet names). they are arranged in simple pattern:
1 4 7 10
2 5 8 11
3 6 9 12
unfortunately KiCad does not annotate according to selected options and so far it seem to be random.
for example if i choose:
- reset existing annotation
- sort components by X (top to bottom, left to right)
- start to (sheet number)*100 and use first free number
i expect that components annotation is like
100 400 700 1000
200 500 800 1100
300 600 900 1200
but what i get is something like:
1300 1000 200 400
1200 800 300 700
1100 900 500 600
It neither uses sheet number, nor order in which sheets are created.
regards,
Ivica Kvasina
Probably directly related to this...
After messing around with a text editor I think I figured out what dictates the sheet order... It is the order that the sheet shows up in the base .sch file when editing it with a text editor (search the file for $Sheet, there should be one for each sheet in the schematic file open). To get my sheets to have the correct order I had to move them in order in the text file, lowest sheet number first. The "Sheet" indication at the top of the .sch file seems to have nothing to do with the actual sheet numbering.
There is no simple way to manage sheet numbering, especially as hierarchy grows. This is a significant bug for those who can't fit their schematic on just a few pages!