Object ProCavitylayout

Function ProCavitylayoutModelMdlnamesSet


Description
For Cavity Layout with Rule set to Variable replaces patern models with their family table instances. The leader model will not be replaced. Note: In Creo 3 this function does not differ in behavior from superseded ProCavitylayoutModelnamesSet. In particular, repl_models can be only of ProName length. This function is reserved for future use.
Synopsis
#include <ProCavitylayout.h>
ProErrorProCavitylayoutModelMdlnamesSet(
ProCavityLayout cvlayout
/* (In)
Pointer to the layout handle
*/
ProMdlName* repl_models
/* (In)
ProArray of instance names replacing layout model. Number of elements in the array should be equal to the number of rows in variable layout table. The name coresponding to the layout leader will be ignored.
*/
)
Returns
PRO_TK_NO_ERRORThe models are successfully replaced.
PRO_TK_BAD_INPUTSThe entered data is incorrect.
PRO_TK_GENERAL_ERRORCannot replace the layout models.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  2. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  3. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions

Sample Code References:

  1. pt_examples ( TestCavityLayout.c )