Configuring The Import DXF Macro

Unit

DXF Unit
Since AutoCAD's DXF file has no unit information the user must enter this information. Choices are inch, mil, um, cm, mm.

Grid
You should enter a reasonable value here such as 1000. This number is used to determine how many places of data in the DXF file should be taken into account. Remember the grid is in DXF units.

L-EDIT

Scale Multiplier
Use this number to change the scale of entities in DXF when translated to TDB. The default value for scale = 1. The DXF program automatically takes differences of units into account. For example if you are importing a DXF file in MM into a L-Edit file in UM then you can leave scale=1 and the program knows that it must scale each length by mm/um.

Wire Control
AutoCAD has an entity called a polyline with width. This can be translated into L-Edit as either a Wire or a polygon. Of course, any AutoCAD polyline whose width is not constant is automatically converted into a polygon.

Import DXF Into

Current File
The DXF data will be imported into a new cell inside of the current open L-Edit file.

New File
The DXF data will be imported into a new cell and a new TDB file will also be created.

Text Font

Scale Divisor
The value entered here will be used to divide the DXF text height when translating into L-Edit. For example, if the DXF text height is 200 um and you enter a scale divisor of 20 the text height in Ledit will be 10 um.

DXF

Supress Hatch
Tells the translator to ignore any hatch blocks, (i.e. blocks that start with *X). It might be a good idea to select this option since hatch lines are generally not useful in GDSII.

Suppress Dim.
Tells the translator to ignore any DXF dimension blocks, (i.e. blocks that start with *D). If you have a dimensioned drawing in AutoCAD and don't want the dimensions themselves imported into L-Edit then you should check this box. Generally dimension text, arrows and leaders are not useful in GDSII.

Link Lines/Arcs
If you want the translator to attempt to link loose lines and arcs into a polygon then check this box. The translator will attempt to match endpoints of lines and arcs on a layer and form closed figures it can convert to polygons. If this box is not checked, then loose lines and arcs will be converted into wires. If this selection is chosen, you should also specify an error layer and check it after the translation to see any lines or arcs that could not be converted into boundaries.

Check Polygon
When selected this option activates an additional routine that checks each boundary to verify that it does not cross over itself. Warning - checking this option slows down the translator.

Detailed Report
Check here for additional information added to the log file. Useful when debugging problems. Warning - for large DXF files this will make the log file very big because the results of each entity is logged.

Arc Resolution
Arcs and circles in DXF must be converted to polygons. The Arc resolution parameter, in degrees, determines how many segments are used to approximate the arc. For example, if arc resolution = 9, then a 360 circle would use 40 (actually 41) segements in the polygon that approximates it.

Arc Sag
This parameter is a distance equal to the maximum error between the ideal curve and the chord that approximates the curve. The translator calculates how many chords must be used to exactly produce this difference.


Program Tour cont...

To see how the DXF UPI helps you read and write DXF from within LEDIT just click on the various topics. You'll be taken step by step through the process.


Exporting a DXF File

Importing a DXF File

The Macro Pull Down

Configuring DXF Export

Selecting the DXF File Name

Layer Selection and Mapping

Loading your DXF File into AutoCAD

The Macro Pulldown

Configuring the DXF Import

Selecting the DXF File

Layer Selection and Mapping

Instancing the New Cell into L-Edit




Tanner Index

Price

Download

Revision History

Artwork Home



ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com