Category Features, Object ProUdfmdl

Function ProUdfmdlNamesAlloc


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProUdfmdlMdlnamesAlloc
Description
Note: This function is deprecated Use ProUdfmdlMdlnamesAlloc instead. Allocate and set a ProUdfMdlName structure which identifies a copied component model and its corresponding orignal. This strucutre is used for UDF placement.
Synopsis
#include <ProUdf.h>
ProErrorProUdfmdlNamesAlloc(
ProName old_name
/* (In)
Name of component model being copied.
*/
ProName 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.

Manual References:

  1. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  2. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions
  3. Technical Summary of Changes for Creo 4.0 F000: User Defined Feature(UDF)