HMIN_extratext()

Saves supplied text to an .hmx file.

Syntax

void HMIN_extratext(int key, char *string, int linenumber)

Type

HyperMesh hminlib Function

Description

Saves supplied text to an .hmx file.

Inputs

key
0 - No header information written along with string.
1 - Identifies the string as unsupported data.
2 - Identifies the string as an unsupported keyword.
id
The ID to be assigned to the entity.
string
The extra text item to include in the file.
linenumber
The line number in the original file where the text was found (included if value is > 0 for key values 1 and 2).

Example

A file named modelname.hmx is created in the directory in which the translation is performed. If you make a call to this function, the supplied string and appropriate header information are included in this file.

This call is used for feinput translators to write unsupported information to the .hmx file. This allows you to cut and paste the information to the output file created by HyperMesh.

Errors

None.