Download and try LinkCAD DXF, GDSII, CIF, PostScript Translator now for free!

UNITS

Syntax:

UNITS

grid-size   database-units;

Description:

Fourth record to appear in a GDS-TXT file. The second parameter is the size of a database unit in meters. The first parameter if one over the number of database units per grid.

For example, if you create a library with a database unit of 1 micron, and a grid of 1 mm (= 1000 microns), the first parameter is .001, and the second parameter is 1E-6.

If you don't use grid units, set the first parameter to 1.0.

Parameters:

grid-size:

1 / grid spacing expressed in database units

database-units:

database units in meters.

Example:

HEADER 3;

BGNLIB;

LIBNAME   TEST;

UNITS  1.0  1.0e-6;