Object ProCavlayrule

Function ProCavlayruleRectSet


Description
Reset the information in a cavity layout rule structure to the PRO_CVLAYOUT_RECTANG type.
Synopsis
#include <ProCavlayrule.h>
ProErrorProCavlayruleRectSet(
ProCvLayoutRule cvlrule
/* (In)
Cavity layout rule handle;
*/
ProCvLayoutOrient orient
/* (In)
Layout orientation type;
*/
int cavity_num_x
/* (In)
Number of columns in the layout;
*/
int cavity_num_y
/* (In)
Number of rows in the layout;
*/
double cavity_step_x
/* (In)
Displacement step in x direction;
*/
double cavity_step_y
/* (In)
Displacement step in y direction.
*/
)
Returns
PRO_TK_NO_ERRORThe handle is successfully reset.
PRO_TK_GENERAL_ERRORCannot inialize the handle

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )