Category Manufacturing, Object ProRmdt

Function ProRmdtWorkpieceInfoGet


Description
Retrieves the workpiece information for the specified mold layout.
Synopsis
#include <ProRmdt.h>
ProErrorProRmdtWorkpieceInfoGet(
ProMoldLayout mold_layout
/* (In)
The handle to the mold layout
*/
int index
/* (In)
The index of the workpiece
*/
double xyz_plus[3]
/* (Out)
The upper boundaries of the workpiece
*/
double xyz_minus[3]
/* (Out)
The lower boundaries of the workpiece
*/
double xyz_total[3]
/* (Out)
The outline size of the workpiece
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Sample Code References:

  1. pt_examples ( TestMoldLayout.c )