Synopsis

PDX_MSGT iges_CycleStartLine(long option, char *buf)

Purpose

Cycle the start entity lines.

Description

This function returns each line in the start section entity for the current model. On the first call to this funciton, the buf argument should be specified as NULL to initialize the cycling. On subsequent calls, buf should be the address of a character array dimensioned to 73. After all of the start lines have been returned (i.e. on the call following the one returning the last start line) the return value will be IGES_END_OF_START. The line will be returned as a null- terminated, non-padded character string. Note that if the start section came from an ASCII IGES file that it will be blank padded to 72 characters.

Input

option

Options (not used)

buf

Address of a 73 character array to copy line to

Output

buf

Buffer loaded with next line from start section

Return

IGES error code, IGES_END_OF_START when end of start has been reached.