|
|
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
);
Points to a null-terminated string containing the name of the panel mesh file to load.
The panel mesh file format. Can be one of the following values:
mfWamitGdf
mfWamitFdf
mfWamitCsf
mfNemohDat
mfHydrostarHst
mfAqwaDat
mfSesamFem
mfGmshMsh
mfWavefrontObj
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.
Points to a variable in which the panel mesh handle will be returned.
Points to a variable in which the number of panels will be returned.
Points to a variable in which the symmetry of the imported mesh will be returned. The symmetry is one of the following values:
msNone
msXZ
msYZ
msXZYZ
| Note: | Symmetry is not defined for mfWamitFdf, mfNemohDat, mfSesamFem, mfGmshMsh and mfWavefrontObj format meshes and a value of msNone is returned in these cases. |
Points to a variable in which the status result for the function call will be returned.