Object ProMoldbase

Function ProMoldbaseFromModelGet


Description
Initialize the handle of ProMoldbaseParams using information about Moldbase assembled earlier into model owner_model.
Synopsis
#include <ProMoldbase.h>
ProErrorProMoldbaseFromModelGet(
ProMdl owner_model
/* (In)
Assembly containing Moldbase assembly as a subassembly;
*/
ProMoldbaseParams* mbparams
/* (Out)
Pointer to the MoldbaseParam handle.
*/
)
Returns
PRO_TK_NO_ERRORThe handle is successfully freed;
PRO_TK_OUT_OF_MEMORYNot enough memoryt to allocate the handle.
PRO_TK_E_NOT_FOUNDMoldbase is not found in owner_model.

Sample Code References:

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