HMIN_laminate_write()

Writes a laminate entity to the database.

Syntax

void HMIN_laminate_write(HM_entityidtype id, char *name, int color, int stack_convention, int repeat_number, int laminate_config);

Type

HyperMesh hminlib Function

Description

This function writes a laminate entity to the database.

Inputs

id
The ID of the laminate.
name
The name of the laminate.
color
The color of the laminate. Valid values are 1-64.
stack_convention
The laminate stack convention. Valid values are:
  • 0 - Total
  • 1 - Membrane
  • 2 - Bending
  • 3 - Smear
  • 4 - Smear core
  • 5 - Symmetric
  • 6 - Symmetric membrane
  • 7 - Symmetric bending
  • 8 - Symmetric smear
repeat_number
Currently not used. Set to 0.
laminate_config
The laminate configuration. Valid values are:
  • 0 - ply laminate
  • 1 - sublaminate laminate
  • 2 - sublaminate

Errors

None.

Version History

11.0