Category Manufacturing, Object ProRmdt

Function ProRmdtMoldBaseInfoGet


Description
Retrieves the mold base information for the specified mold layout. The function reuses memory.
Synopsis
#include <ProRmdt.h>
ProErrorProRmdtMoldBaseInfoGet(
ProMoldLayout mold_layout
/* (In)
The handle to the mold layout.
*/
char*** p_param_names
/* (Out)
The array of parameter names of the mold base.
*/
wchar_t*** p_param_values
/* (Out)
The array of parameter values of the mold base.
*/
int* p_param_num
/* (Out)
The number of parameters of the mold base.
*/
int* p_corner
/* (Out)
The corner of the mold base:
  • Corner 0 is the top-left corner.
  • Corner 1 is the top-right corner.
  • Corner 2 is the bottom-right corner.
  • Corner 3 is the bottom-left corner.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_examples ( TestMoldLayout.c )