Brian Sidebotham a écrit : > > > Hi, > > I have some issues with the library editor, and I don't know whether > it's just me or whether the Library editor options are highly > confusing. > > I have read the manual which seems to be fine, right up until the > "Edit pins part by part" option. When I have an IC with two parts (A > power symbol and the logic symbol) which is very common I add a new > set of pins making sure that the "Common to units" checkbox is not set > because I only want these pins to be placed on the part I am looking > at. > > Then, I select Part B and I find that all the pins I've added have > been included on that part also. So now I have two identical pins that > I can move on either part even though the common to units checkbox is > not selected. These pins are clearly common to all units (or actually > parts) even though the checkbox is not checked. > > So I need to select edit pins part by part and then delete all the > pins that I don't need from the second part. > > Is it just me (it generally is! ;) or does this seem very illogical? > Is this actually the intended behaviour or is there a bug in the > common to units checkbox. > "Common to units" means the *same* pin is shared between units (like power pins) So no matter the unit you select, this pin appears with the same name and number. When you create a component that has more than one unit, most of time these units have the same shape and have similar pins i.e pins at the same location and having the same shape. Only pin names and pin numbers differ. (like the 4 gates in a 74HC00) So when you add (or move or edit) a pin not common to units, libedit adds also a similar pin to the others units, to prepare the creation of others units. (because most of time this is the right behavior you expect, and you just have to edit the pin name and number for each unit).
Because they are specfic to units these pins (at the same location) can have a different name and number from an unit to an other unit, when you edit them. When units are very different (like a relay with a contact (unit1) and its coil (unit2) ) this default behavior is not good. When you want to add (or move) a pin only to the current unit (disable the default behavior that adds also similar pin to other units) you must activate the "Edit pins part by part" option. If so, pins are added to only the current unit. and when moving a pin, pins of others units at the same location are not moved. Jean-Pierre Charras
