HMIN_write_system_dependency()

Writes data for node dependency to a system.

Syntax

void HMIN_write_system_dependency(HM_entityidtype id,  int type,char code,HM_entityidtype n1, HM_entityidtype n2, HM_entityidtype n3, HM_entityidtype systemcollectorid)

Type

HyperMesh hminlib Function

Description

Writes data for node dependency to a system.

Inputs

id
The ID of the system.
type
The type of system to be written.
  • 0 - For a Cartesian system.
  • 1 - For a cylindrical system.
  • 2 - For a spherical system.
code
The code value is used to determine which point defines two of the three X, Y, or Z vectors of the system. The third vector is then defined by calculating the cross product of the origin to axis and origin to plane vectors. Code is interpreted by HMIN_unpacksystemcode() in the following manner:
  • 1 Axis determines X vector of system.
  • Plane determines Y vector of system.
  • 2 Axis determines X vector of system.
  • Plane determines Y vector of system.
  • 3 Axis determines Y vector of system.
  • Plane determines X vector of system.
  • 4 Axis determines Y vector of system.
  • Plane determines Z vector of system.
  • 5 Axis determines Z vector of system.
  • Plane determines Y vector of system.
  • 6 Axis determines Z vector of system.
  • Plane determines X vector of system.
n1
The ID of the first dependency node.
n2
The ID of the second dependency node.
n3
The ID of the third dependency node.
systemcollectorid
The ID of the system collector.

Errors

None.