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

gEDA-user: attribute autoplacing



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



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user