Category 3D interface, Object ProATB

Function ProATBUpdate


Description
Update the ATB model(s)/feature(s).
Replacement in Object TOOLKIT: wfcWModel::UpdateATB
Synopsis
#include <ProATB.h>
ProErrorProATBUpdate(
ProMdl model
/* (In)
Creo Parametric Part or Assembly that is a) A TIM representation of a model imported from the ATB interface such as CADDS/CATIA b) A Creo Parametric Assembly containing one or more components which are model imported from an ATB Interface such as CADDS/CATIA c) A Creo Parametric Part containing an Import Feature that is imported from an ATB Interface such as ICEM.
*/
int* feat_ids
/* (In)
ProArray of feature id(s). Used to indicate one or more ATB-Enabled feature(s) in the model. In that case, the ATB Update operation will only work on the Feature(s) specified. If NULL, then the function will attempt to update the entire model (TIM from CADDS/CATIA).
*/
ProPath* search_paths
/* (In)
ProArray of ProPath(s) indicating the set of additional directories to be searched for the master model. If NULL, then the function will search in current working directory or locations set in config-option atb_search_path.
*/
)
Returns
PRO_TK_NO_CHANGEThe function runs successfully and found no ATB models out of date.
PRO_TK_NO_ERRORThe function successfully updated the model and found ONE or more models out of date.
PRO_TK_CANT_MODIFYDuring ATB update the regeneration failed.
PRO_TK_BAD_INPUTSThe function could not execute, since one or more REQUIRED inputs were missing or incorrect.
PRO_TK_BAD_CONTEXTThere are non-displayed models in the session.
PRO_TK_NOT_DISPLAYEDThe input model is not displayed.
PRO_TK_E_AMBIGUOUSBoth: there are non-displayed models in the session AND the input model is not displayed.
PRO_TK_UNSUPPORTEDThe input model is Multi-CAD model.

Manual References:

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