gEDA-dev: attribute autoplacing
Carlos Nieves Ónega
cnieves at iespana.es
Sat Apr 21 15:22:01 EDT 2007
Hi all,
there is some new stuff in CVS: (improved) attribute text autoplacement.
If you want to try it, add the following lines to your gschemrc file:
(add-hook! add-component-object-hook (lambda (object)
(autoplace-object-attributes object)) #t)
(add-hook! rotate-component-object-hook (lambda (object)
(autoplace-object-attributes object)) #t)
(add-hook! mirror-component-object-hook (lambda (object)
(autoplace-object-attributes object)) #t)
(add-hook! add-attribute-hook (lambda (object)
(autoplace-object-attributes object)) #t)
(add-hook! complex-place-list-changed-hook (lambda (object)
(autoplace-object-attributes object)) #t)
When you add a new component, net or bus, rotate or mirror it, its
refdes, value, device and netname attributes are placed automatically
following some defined rules (see default-position-of-text-attributes in
system-gschemrc). They even will move avoiding pin connections!
This also works for nets and buses.
This is not a feature enabled by default (yet), but I'd want to get some
feedback.
Thanks!
Carlos
More information about the geda-dev
mailing list