Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlFeatBackupRefMdlNamesGet


Description
Get model names from top to owner specified by own_ref_id and from top to reference from backup, mostly for the case some models are missing or not in session.
Synopsis
#include <ProFeature.h>
ProErrorProMdlFeatBackupRefMdlNamesGet(
ProMdl model
/* (In)
The owner model of the backup data.
*/
ProFeature* feature
/* (In)
The referencing feature.
*/
int* path
/* (In)
A ProArray of the memb id (path) from the top to the reference owner model.
*/
int ref_id
/* (In)
The specified reference id.
*/
ProMdlName** TopToRefModelNames
/* (Out)
ProArray of top to ref model names. The function allocates the memory for this argument. Use the function ProArrayFree() to free the memory.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_E_NOT_FOUNDThe model does not have backup reference data.
PRO_TK_E_FOUNDThe model has backup reference data, but the specified names are not found.
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

  1. Core: Features: Feature References
  2. Core: Features: Feature References