Object ProCavitylayout

Function ProCavitylayoutAlloc


Description
Allocates the handle of a new cavity layout
Synopsis
#include <ProCavitylayout.h>
ProErrorProCavitylayoutAlloc(
ProMdl owner
/* (In)
The top assembly to own the layout (may be either regular assembly or mold/casting model)
*/
ProCavityLayout* cvlayout
/* (Out)
Pointer to the layout handle
*/
)
Returns
PRO_TK_NO_ERRORThe handle is successfully allocated.
PRO_TK_E_NOT_FOUNDThe owner handle is invalid
PRO_TK_OUT_OF_MEMORYCannot allocate the handle

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )