EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.suggest.eng » Auto add >NAME and >VALUE in the symbol editor
Auto add >NAME and >VALUE in the symbol editor [message #165751] Fri, 20 May 2016 19:17 Go to next message
martonmiklos
Messages: 25
Registered: September 2008
Junior Member
Hello all,

I think it would be an useful feature if a new symbol is created the
>NAME and the >VALUE texts should be placed automatically, somewere
above the origin of the symbol. Or there could be an option to activate
this behaviour if it would confuse the users.

Adding these texts are time consuming even if I copy them from an
another symbol, even if I place them. Most symbols have them both, and
it is easier to delete one if not needed then placeing them in most cases.

The same could be implemented in the package editor too.

I think it would be relatively easy to implement.

Thanks in advance!

--
Miklos Marton
Re: Auto add >NAME and >VALUE in the symbol editor [message #165757 is a reply to message #165751] Sat, 21 May 2016 06:57 Go to previous messageGo to next message
Tilmann Reh
Messages: 2068
Registered: October 2004
Senior Member
Márton Miklós schrieb:

> I think it would be an useful feature if a new symbol is created the
>> NAME and the >VALUE texts should be placed automatically, somewere
> above the origin of the symbol. Or there could be an option to activate
> this behaviour if it would confuse the users.
>
> Adding these texts are time consuming even if I copy them from an
> another symbol, even if I place them. Most symbols have them both, and
> it is easier to delete one if not needed then placeing them in most cases.
>
> The same could be implemented in the package editor too.
>
> I think it would be relatively easy to implement.

You could simply write a script for this and run that every time you
create a new symbol (or package, respectively). You might even assign
that script to a function key if you like.

This would also ensure that you always use the right font(s) and size(s)
since you would of course set them accordingly in the script.

Tilmann
Re: Auto add >NAME and >VALUE in the symbol editor [message #165758 is a reply to message #165757] Sat, 21 May 2016 09:42 Go to previous messageGo to next message
Guillaume barrey[1]
Messages: 260
Registered: July 2013
Senior Member
Hi,

Years ago, I would agree with your suggestion, but now I for my usage a
script (as Tilmann's suggestion) is a better solution: a script let you
define exactly the text (font, size, ratio, align...) and it's not
limited to the >NAME and >VALUE. For example I always use the >NAME, but
I only use the >VALUE for passive complainants, for other components I
prefer to display some of my owns attributes.

Guillaume

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/197519
Re: Auto add >NAME and >VALUE in the symbol editor [message #165779 is a reply to message #165751] Mon, 23 May 2016 07:58 Go to previous messageGo to next message
Morten Leikvoll
Messages: 1343
Registered: November 2007
Senior Member
On 20.05.2016 21:17, Márton Miklós wrote:
> Hello all,
>
> I think it would be an useful feature if a new symbol is created the
>> NAME and the >VALUE texts should be placed automatically, somewere
> above the origin of the symbol. Or there could be an option to activate
> this behaviour if it would confuse the users.
>
> Adding these texts are time consuming even if I copy them from an
> another symbol, even if I place them. Most symbols have them both, and
> it is easier to delete one if not needed then placeing them in most cases.
>
> The same could be implemented in the package editor too.
>
> I think it would be relatively easy to implement.

This has been on my mind too. I wouldn't mind those two attributes, and
a default frame, all at their respective layers, to show up when you
create a new symbol or part. Then the users who want to do it different
are allowed to delete them.

An very good alternative would be to create event driven actions,
similar to CONTEXT. Maybe a SET EVENT supporting new object events, like
SET EVENT newlibsymbol 'run newsymbol.ulp' and
SET EVENT newlibpart 'run newpart.ulp'

That would cover all preferences, and even add more functionality.
Re: Auto add >NAME and >VALUE in the symbol editor [message #165780 is a reply to message #165779] Mon, 23 May 2016 09:01 Go to previous messageGo to next message
rachaelp
Messages: 532
Registered: March 2015
Location: UK
Senior Member
Morten Leikvoll wrote on Mon, 23 May 2016 08:58
An very good alternative would be to create event driven actions, similar to CONTEXT. Maybe a SET EVENT supporting new object events, like

SET EVENT newlibsymbol 'run newsymbol.ulp' and
SET EVENT newlibpart 'run newpart.ulp'

That would cover all preferences, and even add more functionality.


I really like the idea of adding some kind of event handling to automatically trigger running of ULP's. I could think of loads of uses for this depending on what events were made available. This should be made as a separate suggestion so it doesn't get lost within this thread.

Regarding this suggestion for >NAME and >VALUE, a script to place text in the style of your choosing as others have said would work well and allows for all sorts of customizations.

Best Regards,

Rachael
Re: Auto add >NAME and >VALUE in the symbol editor [message #165784 is a reply to message #165751] Mon, 23 May 2016 20:57 Go to previous message
Olin
Messages: 903
Registered: December 2009
Location: Massachusetts
Senior Member
martonmiklos wrote on Fri, 20 May 2016 15:17

I think it would be an useful feature if a new symbol is created the >NAME and the >VALUE texts should be placed automatically, somewere above the origin of the symbol. Or there could be an option to activate this behaviour if it would confuse the users.


This would be pointless as the problem it would solve is trivial.

Quote:

Adding these texts are time consuming


There is no need for it to be time consuming. I use hot keys for this purpose. For example, here are the key assignments for this purpose in the package editor:

assign F12 'grid inch .005 20 lines on; cha siz .05; cha rat 16; cha lay tnam; text >NAME'
assign S+F12 'grid inch .005 20 lines on; cha siz .05; cha rat 16; cha lay tval; text >VALUE'
assign C+F12 'grid inch .005 20 lines on; cha siz .03; cha rat 10; cha lay tdocu; text >NAME'

F12 let's me easily place the component name on the silkscreen, Shift-F12 the value, and Ctrl-F12 the name that shows up in the assembly drawing. Anything built in won't get it right and be more trouble than it's worth.

I use F12 similarly for symbols (which are simpler than packages, odd that you aren't complaining about that instead), except there's no issue of a drawing so my Ctrl-F12 doesn't apply.

Eagle gives us the tools to customize these kinds of things ourselves. Use them instead of asking for your specific usage to be built in and burden everyone else.

Quote:

it is easier to delete one if not needed then placeing them in most cases.

NO! Don't give me another "standard" thing Eagle does that I then just have to delete.
Previous Topic: how do i delete all unused packages in a library?
Next Topic: How about ODBC support for parts?
Goto Forum:
  


Current Time: Mon May 01 00:37:38 GMT 2017