Category Creo Parametric fundamentals, Object ProModelitem

Function ProModelitemToRelset


Description
Gets the relation set associated to the specified model item.

NOTE:

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

Synopsis
#include <ProRelSet.h>
ProErrorProModelitemToRelset(
ProModelitem* p_item
/* (In)
The model item
*/
ProRelset* p_relset
/* (Out)
The associated relation set
*/
)
Returns
PRO_TK_NO_ERRORThe relation set was found and returned.
OtherThe relation set does not exist.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestRelation.c )
  2. pt_examples ( TestRelation.c )
  3. pt_examples ( TestRelation.c )
  4. pt_udf_examples ( PTUDFExParamInfo.c )
  5. pt_udf_examples ( PTUDFExParamVerify.c )
  6. pt_userguide ( UgRelsEdit.c )