Is there a script or something that can format all the component names and values on my board so it's the same size? I tried a group select with the Info tool, but that didn't work. Only one item was changed.
Is there a script or something that can format all the component names and values on my board so it's the same size? I tried a group select with the Info tool, but that didn't work. Only one item was changed.
On 04/25/2014 08:31 PM, scott216 wrote:
Is there a script or something that can format all the component names
and values on my board so it's the same size? I tried a group select
with the Info tool, but that didn't work. Only one item was changed.
Scott,
What you're forgetting to do is to smash the parts first. Try these
commands:
Group all components
disp tOrig bOrig tNames bNames tPlace bPlace;
group all;
Smash components in the group exposing the text origins
smash (C>0 0);
Group all components including the text origins
group all;
Change the font and the size of the text
change font vector (C>0 0);
change size 50mil (C>0 0);
Restore the previously displayed layers
disp last;
The "(C>0 0)" represents a Control-Right-Click at the origin, which
causes the command to operate on the group.
Hope This Helps,
- Chuck
35185.att1.html.zip |
Thanks Chuck, that's great info and should be a big help.
On 05/02/2014 11:02 AM, scott216 wrote:
Thanks Chuck, that's great info and should be a big help.
The ratio can also be changed in a similar manner. If you're not
familiar with it, the text ratio is the ratio of the height of a text
cell to the width of the line used to draw the text. Most board houses
have a minimum line width of about 7 mils for the silkscreen layer. So,
for 50 mil text, a ratio no less than 7/50, or 14%, should be used.
Thus, after you have all your text selected into a group, you can add
change ratio 14 (C>0 0);
along with the "change font" and "change size" commands.
HTH,
- Chuck
7206.att1.html.zip |
On 05/02/2014 11:02 AM, scott216 wrote:
Thanks Chuck, that's great info and should be a big help.
The ratio can also be changed in a similar manner. If you're not
familiar with it, the text ratio is the ratio of the height of a text
cell to the width of the line used to draw the text. Most board houses
have a minimum line width of about 7 mils for the silkscreen layer. So,
for 50 mil text, a ratio no less than 7/50, or 14%, should be used.
Thus, after you have all your text selected into a group, you can add
change ratio 14 (C>0 0);
along with the "change font" and "change size" commands.
HTH,
- Chuck
7206.att1.html.zip |
Chuck Huber wrote:
Thus, after you have all your text selected into a group, you can add
change ratio 14 (C>0 0);
the 'C' modifier is not needed for group actions on the command line.
While a right click (or 'ctrl right click' if
Option.ToggleCtrlForGroupSelectionAndContextMenu is set to 1)
performed with the mouse would open a context menu, this makes no
sense when performing a simulated right click from the command line.
--
Lorenz
On 05/05/2014 01:36 AM, Lorenz wrote:
Chuck Huber wrote:
Thus, after you have all your text selected into a group, you can add
change ratio 14 (C>0 0);
the 'C' modifier is not needed for group actions on the command line.
While a right click (or 'ctrl right click' if
Option.ToggleCtrlForGroupSelectionAndContextMenu is set to 1)
performed with the mouse would open a context menu, this makes no
sense when performing a simulated right click from the command line.
I tried it with setting the option to 1 and 0. You're right - the 'C'
is not required in either case.
I guess I've always used it only because that's what was required with
the mouse.
So this means that all right clicks from the command line operate on the
group regardless of the presence or absence of the 'C', and regardless
of the setting of Option.ToggleCtrlForGroupSelectionAndContextMenu in
~/.eaglerc.
This is good to know.
Thanks,
- Chuck