← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Option in eeschema to annotate keeping multi-unit parts grouped

 

Le 14/03/2015 00:11, Chris Pavlina a écrit :
> Hello,
> 
> Here is a patch for eeschema that adds "Reset existing annotation, but
> do not swap any units" to eeschema. This first compiles a list of
> multi-unit parts and all of the components that comprise them, and then
> on annotation, annotates all of them as a group. For example, if
> components were originally R3B and R3C, they can be annotated to R5B and
> R5C, but never R5B and R6C, or R5A and R5D.
> 
> I wanted this feature so that I could re-annotate a project to tidy up
> the references, while not losing symbol->footprint mappings that already
> exist in a routed PCB.
> 
> Perhaps, I'll follow up in a few days with a patch to follow through the
> annotations to the other files in the project. (Currently I'm using a
> hacked-together Python script for this...)
> 
> 
> Chris

Thank for your contribution.
This is a very interesting feature.

I tested it on different schematic projects.

It works fine only for simple hierarchies.
Unfortunately, it does not work on complex hierarchies.
These hierarchies uses more than once a given sheet: there is one file,
one schematic, and several instances.
the sheet which is used more than once stores only one drawing, but n
different references when it is used n times.

For instance demos/complex_hierarchy project.

Be *extremely" careful with complex hierarchies.
Complex hierarchies are always a very tricky case, and are never easy to
handle.


-- 
Jean-Pierre CHARRAS


Follow ups

References