Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For the purpose of data exchange, Part 21 of the STEP standard specifies architecture for clear text encoded files, known colloquially as a STEP File or a Part 21 File.

A STEP File consists of two sections, a header section and a data section, as illustrated in Example 4.

Example 4: A working example of a STEP File.

Insert excerpt
US:_stepf_Example_one
US:_stepf_Example_one
nopaneltrue

Header section

The header section provides information about the nature and the originator of the file. It is enclosed within the keywords HEADER and ENDSEC.

The schema of a STEP File header is illustrated in Example 5.

Example 5: An EXPRESS description of the header section of a STEP File.

Insert excerpt
US:_es_HEADER_SECTION_SCHEMA
US:_es_HEADER_SECTION_SCHEMA
nopaneltrue

Data section

The data section includes description of the entity instances to be exchanged. The data section is enclosed within the keywords DATA and ENDSEC.

Entity instances are presented in the following form (refer also to Example 6):

#<integer value> = <entity name> ( <attribute values> );

Example 6: An instance of the ENTITY Thing in STEP File format.

Insert excerpt
US:_xx_Entity_Step_representation
US:_xx_Entity_Step_representation
nopaneltrue

 

 

Info

The max length of a STRING token in a P21 (STEP) file is 32769, which includes all the encoding characters. If the STRING tokens exceeding 32769 bytes, EDM will produce a recoverable error

.

 

Info

When reading a string > 5000000 characters, the read operation will terminate with a FATAL error