Object ProCavitylayout

Function ProCavitylayoutSelect


Description
Upon selection of a component initializes the handle of the cavity layout where this component belongs
Synopsis
#include <ProCavitylayout.h>
ProErrorProCavitylayoutSelect(
ProMdl owner_assem
/* (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 initialized.
PRO_TK_BAD_INPUTSThe owner type is not allowed
PRO_TK_E_NOT_FOUNDThe selected component does not belong to any cavity layout.
PRO_TK_GENERAL_ERRORCannot initialize the handle

Sample Code References:

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