Category Assembly, Object ProExt

Function ProExtRefAsmcompsGet


Description
Gets from the external reference a path to the component from which the reference was created. Also returns a path to the component that owns the specified external reference.
Replacement in Object TOOLKIT: wfcWExternalFeatureReference::GetAsmcomponents
Synopsis
#include <ProRefInfo.h>
ProErrorProExtRefAsmcompsGet(
ProExtFeatRef ext_ref
/* (In)
The opaque pointer to the feature reference structure.
*/
ProAsmcomppath* own_comp
/* (Out)
Handle to path to model to be initialized that uses the specified reference. Can be NULL.
*/
ProAsmcomppath* ref_comp
/* (Out)
Handle to path to top-level (master) model to be initialized. This is the model in which the specified reference was created. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the information.
PRO_TK_BAD_INPUTSext_ref is NULL or bad pointer.
PRO_TK_E_NOT_FOUNDown_comp or ref_comp not found in current session.
PRO_TK_GENERAL_ERRORThe operation failed.

Manual References:

  1. Assembly: Top-down Design: External Reference Data Gathering
  2. Assembly: Top-down Design: External Reference Data Gathering

Sample Code References:

  1. pt_examples ( TestExtrefInfo.c )