| Description | |||||||||||||||||||||||||||||
| Makes a backup of an object in memory to a disk in a specified directory. This function is equivalent to the Creo Parametric command File, Backup.
You can pass NULL as the handle, in which case the backup_dir path must contain filename of object in session to be backed up. If the backup_dir is empty, the backup of the object is made in the current directory. NOTE 1: The name of the file created is the same as the model. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for longer names will be added in a future release. |
|||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||
| #include <ProMdl.h> | |||||||||||||||||||||||||||||
| ProError | ProMdlnameBackup | ( | |||||||||||||||||||||||||||
| ProMdl handle | |||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||
| The model to back up | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ProPath backup_dir | |||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||
| The backup path information | |||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||
| ) | |||||||||||||||||||||||||||||
| Returns | |||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||