User Guide
ADDNAND'A' ¬ ••••
fetches four NAND gates with the names A, B, C and D. If the gener
-
ated name reaches Z, then names with the default prefix will again be
generated(e.g.G$1).
5.5 ImportandExportofData
EAGLEprovidesanumberoftoolsfordataexchange.
•
Scriptfilesforimporting
•
Theexportcommandforexporting
•
EAGLEUserLanguageprogramsforimportandexport.
The User Language is very flexible, but does call for a suitable program
to be created. You will find further details in the section on The EAGLE
UserLanguage.
ScriptFilesandData Import
The script command makes a universal tool available to the EAGLE user
fordataimport.
Since every EAGLE operation can be carried out with the aid of text
commands, you can import all types of data with the aid of a script file.
Ascriptfilecaninturncallotherscriptfiles.
Script files can be created with a simple text editor. The prerequisite for
the development of your own script files is that you understand the
EAGLE command language. You will find the precise functioning and
thesyntaxoftheindividualcommandsintheEAGLEhelppages.
The file euro.scr in the eagle/scr directory, which draws the outline of a
eurocardwithcornerlimits,providesasimpleexample.
If a netlist is to be imported into a board design which already contains
the appropriate components, then a script file of the following form is
necessary:
SIGNALGNDIC17IC27J422;
SIGNALVCCIC114IC214J41;
A Netscript of this sort can easily be created from the schematic diagram
bytheEXPORTcommand.
You will get a further impression of the power of importing, if you out
-
put a library with the EXPORT command (Script option). The script
file that is generated provides an instructive example for the syntax of
the script language. It can be examined with any text editor. If SCRIPT
is then used to read this file into an empty library, a new library file will
becreated.
70
EAGLEManual