Object ProImm

Function ProImmFromModelGet


Description
Initialize the handle of ProImmParams using information about Imm assembled earlier into model owner_model.
Synopsis
#include <ProImm.h>
ProErrorProImmFromModelGet(
ProMdl owner_model
/* (In)
Assembly containing Imm assembly as a subassembly;
*/
ProImmParams* immparams
/* (Out)
Pointer to the ImmParam 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_FOUNDImm is not found in owner_model.

Sample Code References:

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