API Documentation > 3D interface > Object ProATB > Function ProATBUpdate
Function ProATBUpdate
Description
Update the ATB model(s)/feature(s).
Replacement in Object TOOLKIT:
Synopsis
#include <ProATB.h>
ProATBUpdate
(
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
The function runs successfully and found no ATB models out of date.
The function successfully updated the model and found ONE or more models out of date.
During ATB update the regeneration failed.
The function could not execute, since one or more REQUIRED inputs were missing or incorrect.
There are non-displayed models in the session.
The input model is not displayed.
Both: there are non-displayed models in the session AND the input model is not displayed.
The input model is Multi-CAD model.
User Guide References
Was this helpful?