Object ProMdlfile

Function ProMdlfileCopy


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProMdlfileMdlnameCopy
Description
Note: This function is deprecated Use ProMdlfileMdlnameCopy instead. Copies the disk file for a specified object to another named file.
Synopsis
#include <ProMdl.h>
ProErrorProMdlfileCopy(
ProMdlType mdl_type
/* (In)
The model type
*/
ProName from_name
/* (In)
The model to be copied from
*/
ProName to_name
/* (In)
The model copied to
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully copied the file.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
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. 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: Model