I can create a script file to create a list of net classes for me, but
is there a way to use a script file to automatically assign classes to
named nets?
For example:
grid mil 50
class 0 default 8 7 16 # 8 mil width, 7 mil space, 16 mil drill
class 1 power 32 12 16
class 2 clock 8 15 16
class 3 hv 12 32 16
class 4 rf 16 40 16
ch class 1 'vcc' 'gnd' # This doesn't work! Is there a way to do
this?
When Eagle reaches the last line it barfs, giving: Unknown Net Class '1
VCC'
The reason I want this is that I export net lists from OrCAD, and I
haven't found an automated way of exporting net classes with the
netlist. I'd rather not have to type 'ch class n' then manually wander
around the board clicking the nets I'd like to be in each class.
Can I use the set or net commands to do it? I didn't see anything in
the help files that indicated I can, and I've yet to discover
undocumented capabilities associated with commands.
Anyone? Is there a way to assign classes to nets in the layout editor from
a script file, or is there a ULP that can do it?