Category Parameters and relations, Object ProRelset

Function ProRelsetToModelitem


Description
Gets the model item that owns the specified relation set.

NOTE:

Only those model items whose types are specified by ProRelObjType are supported.

Synopsis
#include <ProRelSet.h>
ProErrorProRelsetToModelitem(
ProRelset* p_relset
/* (In)
The associated relation set
*/
ProModelitem* p_item
/* (Out)
The model item
*/
)
Returns
PRO_TK_NO_ERRORThe owner was found and returned.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_INVALID_ITEMThe input relation set was not valid.

Manual References:

  1. Core: Relations: Relations
  2. Core: Relations: Relations

Sample Code References:

  1. pt_examples ( TestRelation.c )