Object ProMdlname

Function ProMdlnameCopy


Description
Copies the specified model to the new one. Note: In Creo 3 this function does not differ in behavior from superseded ProMdlCopy. In particular, new_name can be only of ProName length. This function is reserved for future use.
Synopsis
#include <ProMdl.h>
ProErrorProMdlnameCopy(
ProMdl handle
/* (In)
The handle of the model to be copied.
*/
ProMdlName new_name
/* (In)
The new name.
*/
ProMdl* p_new_handle
/* (Out)
The new model handle to be initialized. This can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully copied the model.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_NO_PERMISSIONThe function does not have permission to operate on this model.
PRO_TK_UNSUPPORTEDUnsupported model. For instance, models which come from Multi-CAD model approach, are not supported in this release.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Updating Older Applications: Tools Available for Updating Applications
  3. Core: Models and Model Items: File Management Operations
  4. Core: Models and Model Items: File Management Operations
  5. Working with Multi-CAD Models Using Creo Unite: Functions that Support Multi-CAD Assemblies
  6. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  7. Working with Multi-CAD Models Using Creo Unite: Restrictions on Character Length for Multi-CAD Functions

Sample Code References:

  1. pt_examples ( TestDbms.c )
  2. pt_examples ( UtilVisit.c )