Category Features, Object ProUdfmdl

Function ProUdfmdlMdlnamesAlloc


Description
Allocate and set a ProUdfMdlName structure which identifies a copied component model and its corresponding orignal. This strucutre is used for UDF placement. Note: In Creo 3 this function does not differ in behavior from superseded ProUdfmdlNamesAlloc. In particular, new_name can be only of ProName length. This function is reserved for future use.
Synopsis
#include <ProUdf.h>
ProErrorProUdfmdlMdlnamesAlloc(
ProMdlName old_name
/* (In)
Name of component model being copied.
*/
ProMdlName new_name
/* (In)
Name of copied component model.
*/
ProUdfmdlNames* name_pair
/* (Out)
The structure that contains both names.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_LINE_TOO_LONGArgument new_name is too long.

Manual References:

  1. Core: Features: Copied Model Names
  2. Core: Features: Copied Model Names
  3. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  4. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  5. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions