Guide to Using DWG and Other Formats
Guide to Using DWG and Other Formats
Guide to Using DWG and Other Formats

IGES File Organization

MicroStation can import or export fixed-length ASCII IGES files with 80 characters in each line.

Each IGES file has five sections that are identified by the letter in column 73 of each line (S, G, D, P, or T).

Start section

Contains a human-readable comment that is meant to be read by people rather than by computers.

By default, the message “This file was produced by MicroStation” is placed in the Start section of an exported IGES file.

If desired, a text file can be specified using the Start Section File dialog box (from the Export IGES File dialog box, choose File > Start Section File). For example, the text file has information about notes to the receiving company. If a text file is specified, the text is reformatted in the standard IGES record format.

Global data section

Contains information needed by the receiving application, such as the sending application, author, organization, drafting standard, measuring system, and IGES version. Some of this information is specified in the Export IGES File dialog box.

Directory entry section

Serves as an index to the IGES file. There is one directory entry for each entity. A directory entry has 20 right-justified fields of 8 characters each in two consecutive lines used to store information that is applicable to every type of entity. Important fields include:

Field

Description

1

Entity type

2

Pointer to the parameter data for that entity

4

Line font pattern

5

Level

10

Line count from beginning of directory entry section

11

Entity type (same as field 1)

12

Line weight

13

Color

14

Number of lines in the parameter data entry for that entity

15

Form number

20

Line count from beginning of directory entry section (same as field 10)

Parameter data section

Contains geometric information that is specific to each type of entity. Geometric information includes the endpoints of a line entity, the center and radius of a circle entity, or the text in a general note entity. The length of the parameter data entries depends on the element type.

Terminate section

Is one line long and must be the last line in the IGES file.

A sample DGN file and exported IGES file

The following examples show the DGN file “output.dgn” and the exported IGES file “output.igs.” The DGN file has default settings except for global data specified in the Export to IGES File dialog box.

The DGN file “output.dgn” has one line and one text element.

  

Exported IGES file “output.igs”

  

The sections of the above image are as follows: