+ r_i ("INDEXFORSAVE", tracks_c) + r_b ("SELECTION", 0) + r_layer ("LAYER", r.layer) + r_i ("INDEXFORSAVE", texts_c) + r_b ("SELECTION", 0) Void out_text (UL_TEXT t, int c, int isDes, int isComm) Pads += record ("Pad") + ra_net (n) + ra_comp (c) I don't know what it menas so I don't use them + r_l ("HOLESIZE", v.drill, 0) + r_layer ("STARTLAYER", v.start) + r_layer ("ENDLAYER", v.end) + r_l ("DIAMETER", max (v.diameter, v.diameter ), 0) + r_i ("INDEXFORSAVE", vias_c) + r_b ("SELECTION", 0) + r_s ("LAYER", "MULTILAYER")
![protel 99se localstor protel 99se localstor](https://i.ytimg.com/vi/--QBVHudplQ/hqdefault.jpg)
Vias += record ("Via") + ra_net (n) + ra_comp (c) + r_l ("WIDTH", fixwidth (w.width), 0) + r_i ("SUBPOLYINDEX", 0) + r_i ("INDEXFORSAVE", tracks_c) + r_b ("SELECTION", 0) + r_layer ("LAYER", w.layer) Tracks += record ("Track") + ra_net (n) + ra_comp (c) + r_f ("STARTANGLE", a.angle1) + r_f ("ENDANGLE", a.angle2) + r_l ("WIDTH", fixwidth (a.width), 0) + r_i ("INDEXFORSAVE", arcs_c) + r_b ("SELECTION", 0) + r_layer ("LAYER", a.layer) If (netn != netname) i = -1 // we should never get it unless there's a bugĪrcs += record ("Arc") + ra_net (n) + ra_comp (c) Sprintf (s, "|%s=%g%s", name, value, units ) įor (i = 0 (i < nets_c) & (netname != netn ) i++) Value = (usedunits = 0 ? u2mil (val - v0) : u2mm (val - v0)) String r_l (string name, int val, int v0) The author will not be liable for any illegal " "use of this script for purposes other than migrating from Eagle to Protel "
![protel 99se localstor protel 99se localstor](https://image.easyeda.com/images/easyeda-149_Import_AltiumDesignerSchemaitc.png)
"This script is NOT designed to replace Protel. "Board outline is lost and must be restored from Mechanical 1 (Protel DXP only)." "with 100% accuracy so use at your own risk and check the results carefully." "It is probably not bug-free as well as it seems to be impossible to export " "This ULP script tries to export PCB file which can be opened by Protel.