Category Assembly, Object ProAssembly

Function ProAssemblyAutointerchange


Description
Performs the automatic replacement of an assembly member, in the manner of Creo Parametric.

Note that Creo Parametric enables automatic replacement of assembly members using the following methods:

  • Interchange groups
  • Instances of family tables
  • Global reference datums in layouts
Replacement in Object TOOLKIT: pfcSolid::ExecuteFeatureOps
wfcWAssembly::AutoInterchange
Synopsis
#include <ProAssembly.h>
ProErrorProAssemblyAutointerchange(
ProAssembly assembly
/* (In)
The assembly or subassembly.
*/
int* component_ids
/* (In)
The ProArray of component identifiers from the assembly node assembly that identifies the replaced members.
*/
ProMdl replacement_model
/* (In)
The replacement component. This can be a part or subassembly.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded
PRO_TK_BAD_INPUTSOne or more arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Basic Assembly Access: Automatic Interchange