[Previous]   [Next]   [Contents]   [Index]   [Books]   

OneSpace Designer: ME10 Dynamic Drafting MI Interfacing


Table of Contents Section (#~2)

This section contains information about the size and complexity of the model, so that a postprocessor can reserve space and set up array dimensions. Since all MI file entities are given Entity Sequence Numbers in ascending order, the approximate size of each section can be determined from the first Entity Sequence Number in the next section.

The following file fragment shows a typical table of contents. This is the table of contents for Example 6 in Overview of MI.

#~2
2
TC41:1
TC5:4
Top
6
TC61:5
TC62:11
TC63:13
TC71:15
TC81:16
PLAST:16
LAST:16

The TC entries have the following format:

TCN:S
where N is the section number, and S is the Entity Sequence Number of the first entity in the section. S is an integer of the type n+. (The section number appears #~N.)

For example, TC41:1 refers to Section 41 (Simple Properties). 1 is the Entity Sequence Number of the first entity in the Properties section.

The Table of Contents will only contain TC entries for sections which exist within the MI file. For example, the previous example has no entities in Section 72 (composite annotation).

The initial entries in the Table of Contents are:

Format Meaning
#~2 Start-of-Section Marker.
n+ Quantity of TC Entries to Follow.
TC41:S S = Entity Sequence Number of First Property Entity.
TC42:S S = Entity Sequence Number of First Composite Property Entity. This entry does not appear if there are no Composite Properties.
TC5:S S = Entity Sequence Number of First Assembly Hierarchy Entity.

The following format is then repeated for each part definition:

STRING Part Name.
n+ Number of TC Entries in this Part.
TC61:S S = Entity Sequence Number of First Geometry Point Entity.
TC62:S S = Entity Sequence Number of First Geometry Element Entity.
TC63:S S = Entity Sequence Number of First Composite Geometry Entity.
TC71:S S = Entity Sequence Number of First Annotation Element Entity.
TC72:S S = Entity Sequence Number of First Composite Annotation Entity.
TC81:S S = Entity Sequence Number of First Face Entity.
TC82:S S = Entity Sequence Number of First Face Entity
PLAST:S S = Entity Sequence Number of Last Entity in the Part Definition.

The above items are repeated for each part definition until finally:

LAST:S S = Entity Sequence Number of Last Entity in MI File.


[Previous]   [Next]   [Contents]   [Index]   [Books]