Category Family table, Object ProFamtable

Function ProFamtableItemToModelitem


Description
Converts a ProFamtableItem to a ProModelitem.

Types supported for conversion here:
ProTypeProFamtabType
PRO_FEATUREPRO_FAM_FEATURE
PRO_DIMENSIONPRO_FAM_DIMENSION
PRO_IPAR_NOTEPRO_FAM_IPAR_NOTE
PRO_UDFPRO_FAM_UDF
PRO_SUB_ASSEMBLYPRO_FAM_ASMCOMP
PRO_GTOLPRO_FAM_GTOL

Replacement in Object TOOLKIT: pfcFamColModelItem::RefItem
Synopsis
#include <ProFamtable.h>
ProErrorProFamtableItemToModelitem(
ProFamtableItem* p_fam_item
/* (In)
The family table item
*/
ProModelitem* r_item
/* (Out)
The model item
*/
)
Returns
PRO_TK_NO_ERRORThe model item is successfully initiated.
OtherThe conversion failed.

Manual References:

  1. Core: Family Tables: Operations on Family Table Items
  2. Core: Family Tables: Operations on Family Table Items

Sample Code References:

  1. pt_examples ( TestFamTab.c )
  2. pt_userguide ( UgFamtabUse.c )