API Documentation > 3D interface > Object ProATB > Function ProATBRelink
Function ProATBRelink
Description
Relink the model/feature that have lost the link to the master model. Relinking a model here will represent searching for the master model (using the master model name) in the location specified in the 'master_model_path' arguement. If the master model with the same name is found, the Creo Parametric TIM model is linked to that master model.
Replacement in Object TOOLKIT:
Synopsis
#include <ProATB.h>
ProATBRelink
(
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_id
/* (In)
Indicates a ABT-Enabled feature in the model. In that case, the ATB Relink operation will only work on the Feature specified. If PRO_VALUE_UNUSED, then the function will attempt to relink the entire model (TIM from CADDS/CATIA).
*/
ProPath master_model_path
/* (In)
ProPath indicating the fully qualified path to the new master model to be relinked.
*/
)
Returns
The function run successfully.
The function could not run, since one or more REQUIRED inputs were missing or incorrect.
The input model is Multi-CAD model.
User Guide References
Was this helpful?