C_CreatePanelMesh

Note: C_CreatePanelMesh has been superseded by C_CreatePanelMesh2. We recommend that any new code you write uses C_CreatePanelMesh2.

Call C_CreatePanelMesh to import a panel mesh file.

void C_CreatePanelMesh(

LPCTSTR lpFileName,

int Format,

double Scale,

TOrcFxAPIHandle *lpPanelMeshHandle,

int *lpPanelCount,

int *lpSymmetry,

int *lpStatus

);

Parameters

lpFileName (IN)

Points to a null-terminated string containing the name of the panel mesh file to load.

Format (IN)

The panel mesh file format. Can be one of the following values:

Scale (IN)

The imported vertices are scaled by this value on import. This is useful when you wish to convert between different length units. Pass 1 to import the mesh without scaling.

lpPanelMeshHandle (OUT)

Points to a variable in which the panel mesh handle will be returned.

lpPanelCount (OUT)

Points to a variable in which the number of panels will be returned.

lpSymmetry (OUT)

Points to a variable in which the symmetry of the imported mesh will be returned. The symmetry is one of the following values:

Note: Symmetry is not defined for mfWamitFdf, mfNemohDat, mfSesamFem, mfGmshMsh and
  • mfWavefrontObj
  • format meshes and a value of msNone is returned in these cases.

    lpStatus (OUT)

    Points to a variable in which the status result for the function call will be returned.

    See also

    C_CreatePanelMesh2, C_DestroyPanelMesh, C_GetPanels.