Object ProCavlayrule

Function ProCavlayruleVarDataGet


Description
Get the information about a variable rule from the Cavity Layout Rule structure. A good programming style is to call first ProCavlayruleRuleTypeGet() make sure that the type it returns is variable.
Synopsis
#include <ProCavlayrule.h>
ProErrorProCavlayruleVarDataGet(
ProCvLayoutRule cvlrule
/* (In)
Cavity layout rule handle;
*/
int* cavity_num
/* (Out)
pointer to number of rows in Variable Layout Table;
*/
double** increment1_arr
/* (Out)
pointer to ProArray of increments for the first table dimension;
*/
double** increment2_arr
/* (Out)
pointer to ProArray of increments for the second table dimension;
*/
double** increment3_arr
/* (Out)
pointer to ProArray of increments for the third table dimension;
*/
)
Returns
PRO_TK_NO_ERRORThe information is successfully retrieved;
PRO_TK_BAD_INPUTSThe Rule is of uncompatible type.
PRO_TK_GENERAL_ERRORCannot inialize the pointers.

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )
  2. pt_examples ( TestCavityLayout.c )