Object ProModel

Function ProModelListTIMFeatures


Description
Utility function to list the feature ids of all the ATB-Enabled TIM Features in a Model. A TIM Feature is a model imported from ICEM or Neutral. This utility function can be run after determining if a Model has one or more TIM feature(s), using the utility function ProModelHasTIMFeature(...)
Replacement in Object TOOLKIT: wfcWModel::GetTIMInfo
Synopsis
#include <ProATB.h>
ProErrorProModelListTIMFeatures(
ProMdl model
/* (In)
Creo Parametric Part or Assembly.
*/
int** p_feat_ids
/* (Out)
returns the list of ids of ATB-enabled features. If NO TIM Features can be found in the model, the return value *p_feat_ids is NULL. The function allocates space for this ProArray. User must call ProArrayFree() to free the array of integer(s).
*/
)
Returns
PRO_TK_NO_ERRORThe function run successfully.
PRO_TK_BAD_INPUTSThe function could not run, since one or more REQUIRED inputs were missing or incorrect.

Manual References:

  1. Interface: Importing Features: Associative Topology Bus Enabled Models and Features
  2. Interface: Importing Features: Associative Topology Bus Enabled Models and Features