Synopsis

PDX_MSGT iges_GetStartLine(long option, int line, char *buf)

Purpose

Get a line from the start section.

Description

This function returns a line from the start section entity for the current model. The buf argument should be the address of a character array dimensioned to 73. 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. If the line number specified to be read is out of range, an error of IGES_INVALID_START_LINE will be returned.

Input

option

Options (not used)

line

Line number (starting at 1) to return

buf

Address of a 73 character array to copy line to

Output

buf

Buffer loaded with specified line from start section

Return

IGES error code