fxigds: Intergraph DGN Files

A file-based interface, converting to nodes, polylines, polygons, arcs and text without column attributes.

DGN files contain fully-defined symbology, so the default symbology is never used.

Nothing is known about the projection of DGN data. This must be set by the client if required. The units of measurement are known and are set automatically by the interface.

Extensions to Standard Commands

init

init

This interface requires Fire to have an igds atable set up before receiving eim data. The init command sets this up.

query_tables

query_tables <client_string_array>

Returns the names of all DGN files in the current directory and sub-directories. This list is also selectable by the following command:

iselect * from fxtables

select

select {*} from <file>

Selects the DGN file from which all data is to be fetched.

Additional Commands

mslink

mslink { on | off | true | false | 0 | 1 }

Set "mslink" mode. When this mode is on, mslink attribute information is extracted. The default value is off.

query_layers

query_layers { <client_numeric_array> { <client_numeric_array> } }

Returns to the client up to 2 sets of data:

1. the numbers of all layers used within the currently open file,
2. whether or not the layers are currently selected.

Layer numbers are in the range 0 through 127.

scale

scale <scale>

Set a scale factor to scale all graphic primitives before sending to the eim output stream.

set_layers

set_layers all | <layer> ...

Restrict selection to particular numeric layers. Using the command with no parameters de-selects all layers.

Layer numbers are in the range 0 through 127.

Entity Translation

The following table gives the mappings between the various Intergraph element types and, if they are supported, the Eim entity types which the translator produces to represent them:

Intergraph Element

Intergraph Type

Eim Entity

line

3

vector

curve

11

lines

line string

4

lines

shape

6

polygon

ellipse

15

circle/ellipse

arc

16

arc

point string

22

lines

text node

7

glabel if 2D, gtext if 3D

text

17

glabel if 2D, gtext if 3D

group data

5

not applicable

cell library

1

not applicable

cell header

2

not applicable

complex string

12

not supported

complex shape

14

not supported

3D surface header

18

not supported

3D solid header

19

not supported

cone

23

not supported

B-spline

21,24 thru 28

not supported

dimension

33

not supported

shared cell header

34

not supported

shared cell data

35

not supported

multi-line

36

not supported

microstation application data

66

not supported

raster header

87

not supported

raster data

88

not supported