HMIN_readmodel()

Allows hminlib to read in all of the entities in the database.

Syntax

void HMIN_readmodel(entityfunctionptr (* getfunction) (int function, HM_entitytype entities));

Type

HyperMesh hminlib Function

Description

Allows hminlib to read in all of the entities in the database.

Inputs

getfunction
A pointer to the function that requests the functions that read each entity type.
function
The function to be performed.
entities
The entity type to be read in.

Example

In order to not overwrite a particular element, call the HMIN_overWriteEntity() function with flag = 0, and after writing the element, set flag = 1 so that rest of the elements are overwritten. HMIN_overWriteEntity(HM_ENTITYTYPE_ELEMS, 0);

HMIN_element_writequad4(id, 0, nodes, collectorid);
Write all the attributes belonging to the element quad4

HMIN_overWriteEntity(HM_ENTITYTYPE_ELEMS, 1);

Errors

None.